7***@qq.com
7***@qq.com
  • 发布:2020-03-05 00:27
  • 更新:2022-08-09 17:05
  • 阅读:2091

uni-app安卓离线调试的过程中报错了!!!

分类:uni-app

步骤如下:

一、导入UniPlugin-Hello-AS工程 并按照官网上的步骤,把uni-app项目生成本地资源,替换app/src/main/assets下的资源文件,并修改appid为uni项目的appid,也让AndroidManifest.xml的package和配置文件的applicationId 保持一致,然后build安卓项目,连接小米3调试,app一直卡在启动页logo,控制台报如下错误,希望大神能帮忙看下,万分感谢

03/05 00:17:30: Launching 'app' on Xiaomi MI 3.
$ adb shell am start -n "com.test.app/io.dcloud.PandoraEntry" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 14756 on device 'xiaomi-mi_3-09ef8762'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
D/dalvikvm: Late-enabling CheckJNI
I/MultiDex: VM with version 1.6.0 does not have multidex support
Installing application
I/MultiDex: MultiDexExtractor.load(/data/app/com.test.app-1.apk, false, )
I/MultiDex: Blocking on lock /data/data/com.test.app/code_cache/secondary-dexes/MultiDex.lock
I/MultiDex: /data/data/com.test.app/code_cache/secondary-dexes/MultiDex.lock locked
I/MultiDex: Detected that extraction must be performed.
I/MultiDex: Extraction is needed for file /data/data/com.test.app/code_cache/secondary-dexes/com.test.app-1.apk.classes2.zip
I/MultiDex: Extracting /data/data/com.test.app/code_cache/secondary-dexes/tmp-com.test.app-1.apk.classes1725032016.zip
I/MultiDex: Renaming to /data/data/com.test.app/code_cache/secondary-dexes/com.test.app-1.apk.classes2.zip
I/MultiDex: Extraction succeeded - length /data/data/com.test.app/code_cache/secondary-dexes/com.test.app-1.apk.classes2.zip: 3451436 - crc: 3029046882
I/MultiDex: load found 1 secondary dex files
D/dalvikvm: DexOpt: --- BEGIN 'com.test.app-1.apk.classes2.zip' (bootstrap=0) ---
D/dalvikvm: DexOpt: --- END 'com.test.app-1.apk.classes2.zip' (success) ---
DEX prep '/data/data/com.test.app/code_cache/secondary-dexes/com.test.app-1.apk.classes2.zip': unzip in 116ms, rewrite 1913ms
I/MultiDex: install done
E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl registerReloadReceiver
E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment
I/dalvikvm: Could not find method android.widget.ImageView.<init>, referenced from method com.facebook.drawee.view.DraweeView.<init>
W/dalvikvm: VFY: unable to resolve direct method 859: Landroid/widget/ImageView;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;II)V
D/dalvikvm: VFY: replacing opcode 0x70 at 0x0000
I/dalvikvm: Could not find method com.facebook.drawee.view.DraweeView.getImageTintList, referenced from method com.facebook.drawee.view.DraweeView.init
W/dalvikvm: VFY: unable to resolve virtual method 2136: Lcom/facebook/drawee/view/DraweeView;.getImageTintList ()Landroid/content/res/ColorStateList;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0015
D/dalvikvm: Trying to load lib /data/app-lib/com.test.app-1/libc++_shared.so 0x42792628
D/dalvikvm: Added shared lib /data/app-lib/com.test.app-1/libc++_shared.so 0x42792628
No JNI_OnLoad found in /data/app-lib/com.test.app-1/libc++_shared.so 0x42792628, skipping init
D/dalvikvm: Trying to load lib /data/app-lib/com.test.app-1/libweexcore.so 0x42792628
D/dalvikvm: Added shared lib /data/app-lib/com.test.app-1/libweexcore.so 0x42792628
I/dalvikvm: Odd: ExceptionDescribe called, but no exception pending
E/weex: tryUseRunTimeApi ? false
W/weex: app AvailMemory ---->>>1036
I/DCFileUtils: getAssetPath---------weex-main-jsfm.js
E/WXParams: setCrashFilePath: /data/data/com.test.app/app_crash
E/weex: weexjss's Path is/data/app-lib/com.test.app-1/libweexjss.so
test-> findLibJssRealPath /data/app-lib/com.test.app-1/libweexjss.so
E/weex: getLibLdPath is /data/app-lib/com.test.app-1:/vendor/lib:/system/lib
E/weex: JavaScriptCore's Path is/data/app-lib/com.test.app-1/libJavaScriptCore.so
findLibJscRealPath /data/app-lib/com.test.app-1/libJavaScriptCore.so
getUseSingleProcess is running false
getLibJscPath is running /data/app-lib/com.test.app-1
getLibJssPath is running /data/app-lib/com.test.app-1/libweexjss.so
E/WXParams: getCrashFilePath:/data/data/com.test.app/app_crash
E/weex: getLibIcuPath is running /system/usr/icu/icudt51l.dat
E/weex: getLibLdPath is running /data/app-lib/com.test.app-1:/vendor/lib:/system/lib
D/dalvikvm: GC_FOR_ALLOC freed 5681K, 23% free 19549K/25244K, paused 35ms, total 36ms
E/platform: ClassNotFoundException io.dcloud.feature.weex_amap.AMapPluginImpl initPlugin

2020-03-05 00:27 负责人:无 分享
已邀请:
4***@qq.com

4***@qq.com

请问这个问题解决了吗?我也遇到了

要回复问题请先登录注册