3***@qq.com
3***@qq.com
  • 发布:2021-05-11 15:16
  • 更新:2021-12-14 15:50
  • 阅读:3127

使用最新的android离线sdk打包,华为可以运行,vivo直接崩溃

分类:HBuilderX

使用最想的android离线打包sdk,使用sdk中自带的UniPlugin-Hello-As工程,其中华为的系统是Android10可以正确运行,Vivo手机Android直接崩溃,报错如下。使用老版本的离线打包SDK在华为Android10手机上正常运行,在VivoAndroid11上报Unrecognized profile/level 0/3 for video/mpeg2等错误,白屏显示。各位大佬帮忙看看,非常感谢!

05/11 14:42:04: Launching 'app' on vivo V2024A.
Install successfully finished in 4 s 349 ms.
$ adb shell am start -n "com.joxtech.chengzhuwang/io.dcloud.PandoraEntry" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 8638 on device 'vivo-v2024a-e3c819db'.
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
D/ApplicationLoaders: Returning zygote-cached class loader: /system/framework/android.test.base.jar
I/ch.chengzhuwan: The ClassLoaderContext is a special shared library.
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/NetworkSecurityConfig: No Network Security Config specified, using platform default
D/DeviceInfo: sPackageName=com.joxtech.chengzhuwang;
sDeviceRootDir=/storage/emulated/0;
sBaseFsRootPath=/storage/emulated/0/Android/data/com.joxtech.chengzhuwang/;
sBaseFsRootFullPath=file:///storage/emulated/0/Android/data/com.joxtech.chengzhuwang/;
sBaseResRootFullPath=file:///android_asset/;
D/DCloud_LOG: createNewFile 0:/storage/emulated/0/Android/data/com.joxtech.chengzhuwang/apps/
D/DCloud_LOG: createNewFile 0:/storage/emulated/0/Android/data/com.joxtech.chengzhuwang/sitemap/
W/ch.chengzhuwan: Accessing hidden method Landroid/app/ActivityThread;->currentActivityThread()Landroid/app/ActivityThread; (greylist, reflection, allowed)
Accessing hidden field Landroid/app/ActivityThread;->mHiddenApiWarningShown:Z (greylist-max-o, reflection, allowed)
I/platform: ClassNotFoundException io.dcloud.common.cs.DL getInstance
I/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl registerReloadReceiver
I/platform: ClassNotFoundException io.dcloud.feature.cf.cFeatureImpl handleEncryption
E/WeexInstanceMgr: resAppVersionName--=1.0.7 +fcAppVersionName= true
I/platform: ClassNotFoundException io.dcloud.feature.cf.cFeatureImpl handleEncryption
I/platform: ClassNotFoundException io.dcloud.feature.weex.WeexDevtoolImpl initDebugEnvironment
D/SoLoader: init start
adding system library source: /vendor/lib
D/SoLoader: adding system library source: /system/lib
adding application source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/lib/arm flags = 0]
D/SoLoader: adding backup source from : com.facebook.soloader.ApkSoSource[root = /data/user/0/com.joxtech.chengzhuwang/lib-main flags = 1]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /system/lib flags = 2]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /vendor/lib flags = 2]
Preparing SO source: com.facebook.soloader.DirectorySoSource[root = /data/app/~~qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/lib/arm flags = 0]
Preparing SO source: com.facebook.soloader.ApkSoSource[root = /data/user/0/com.joxtech.chengzhuwang/lib-main flags = 1]
V/fb-UnpackingSoSource: locked dso store /data/user/0/com.joxtech.chengzhuwang/lib-main
V/fb-UnpackingSoSource: deps mismatch on deps store: regenerating
so store dirty: regenerating
D/ApkSoSource: not allowing consideration of lib/armeabi-v7a/libc++_shared.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libgifimage.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libimagepipeline.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libnative-filters.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libnative-imagetranscoder.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libpl_droidsonroids_gif.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libsecsdk.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libweexcore.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libweexjsb.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libweexjss.so: deferring to libdir
not allowing consideration of lib/armeabi-v7a/libweexjst.so: deferring to libdir
V/fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
Finished regenerating DSO store com.facebook.soloader.ApkSoSource
starting syncer worker
V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.joxtech.chengzhuwang/lib-main (from syncer thread)
not releasing dso store lock for /data/user/0/com.joxtech.chengzhuwang/lib-main (syncer thread started)
D/SoLoader: init finish: 4 SO sources prepared
init exiting
I/weex: get default settings weexjsb : -1
I/weex: save default settings weexjsb:1.0
E/weex: tryUseRunTimeApi ? false
I/platform: ClassNotFoundException io.dcloud.feature.cf.cFeatureImpl handleEncryption
I/platform: ClassNotFoundException io.dcloud.feature.weex_amap.AMapPluginImpl initPlugin
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
I/platform: ClassNotFoundException io.dcloud.feature.weex_livepusher.LivePusherPlugin initPlugin
ClassNotFoundException io.dcloud.feature.weex_media.VideoPlayerPlugin initPlugin
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
I/chatty: uid=10290(com.joxtech.chengzhuwang) identical 2 lines
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
ClassNotFoundException io.dcloud.feature.gcanvas.GCanvasRegister initPlugin
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
ClassNotFoundException io.dcloud.feature.weex_ad.DCWXAdPlugin initPlugin
I/platform: java.lang.ClassNotFoundException: com.taobao.weex.devtools.inspector.elements.android.WXComponentDescriptor
E/DCLoudApplicationImpl: mApplication--=io.dcloud.application.DCloudApplication@ce6b42a
W/weex: app AvailMemory ---->>>1306
I/DCFileUtils: getAssetPath---------uni-jsframework-dev.js
E/WXParams: setCrashFilePath: /data/user/0/com.joxtech.chengzhuwang/app_crash
E/weex: weexjss's Path is/data/app/~~qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/lib/arm/libweexjss.so
I/WebViewFactory: Loading com.google.android.webview version 83.0.4103.106 (code 410410683)
W/ch.chengzhuwan: Accessing hidden method Ldalvik/system/BaseDexClassLoader;->getLdLibraryPath()Ljava/lang/String; (greylist,core-platform-api, reflection, allowed)
E/weex: getUseSingleProcess is running false
E/WeexCore: params_utils.cpp:214,g_use_single_process is false
E/weex: getReleaseMap:true
getLibJscPath is running
E/WeexCore: params_utils.cpp:258,g_jscSoPath is
E/weex: getLibJssPath is running /data/app/~~qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/lib/arm/libweexjss.so
E/WeexCore: params_utils.cpp:271,g_jssSoPath is /data/app/~~qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/lib/arm/libweexjss.so
E/WXParams: getCrashFilePath:/data/user/0/com.joxtech.chengzhuwang/app_crash
E/WeexCore: params_utils.cpp:283,g_crashFilePath is /data/user/0/com.joxtech.chengzhuwang/app_crash
E/weex: getLibIcuPath is running /apex/com.android.i18n/etc/icu/icudt66l.dat
E/WeexCore: params_utils.cpp:296,g_jssIcuPath is /apex/com.android.i18n/etc/icu/icudt66l.dat
E/weex: getLibJsbPath is running /data/user/0/com.joxtech.chengzhuwang/cache/cache/weex/libs/weexjsb/armeabi-v7a/libweexjsb.so
getLibLdPath is running /data/app/qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/lib/arm:/data/app/qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/base.apk!/lib/armeabi-v7a
E/WeexCore: setDebugMode 2
multi_process_and_so_initializer.cpp:38,MultiProcessAndSoInitializer IS IN init
weex_js_connection.cpp:142,WeexJSConnection g_crashFileName: /data/user/0/com.joxtech.chengzhuwang/app_crash/crash_dump.log
D/nativeloader: classloader namespace configured for unbundled product apk. library_path=/system/product/app/WebViewGoogle/lib/arm:/system/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/armeabi-v7a:/system/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/armeabi-v7a:/product/lib:/system/product/lib
E/WeexCore: weex_js_connection.cpp:262,startupPie :1

--------- beginning of crash  

D/nativeloader: classloader namespace configured for unbundled product apk. library_path=/system/product/app/WebViewGoogle/lib/arm:/system/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/armeabi-v7a:/system/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/armeabi-v7a:/product/lib:/system/product/lib
I/cr_LibraryLoader: Loaded native library version number "83.0.4103.106"
I/cr_CachingUmaRecorder: Flushed 3 samples from 3 histograms.
I/InputTransport: Create ARC handle: 0xd2abd290
I/AdrenoGLES-0: QUALCOMM build : 191610ae03, Ic907de5ed0
Build Date : 09/17/20
OpenGL ES Shader Compiler Version: EV031.32.02.01
Local Branch :
Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.9.12.10.00.00.582.274
Remote Branch : NONE
Reconstruct Branch : NOTHING
Build Config : S P 10.0.5 AArch32
Driver Path : /vendor/lib/egl/libGLESv2_adreno.so
I/AdrenoGLES-0: PFP: 0x016dd091, ME: 0x00000000
E/DCloudApplication: onTrimMemory
E/Html5Plus-onCreate: 1620715329230
D/WebAppActivity: onCreate
D/DeviceInfo: old_app_modify_date=
D/DeviceInfo: new_app_modify_date=1620715325000
App Modify Date=20210511 14:42:05.000;_ret=true
E/DCloud_LOG: channel:;ver:1.9.9.80813;max:3;trim:0;dg:true
D/CompatibilityChangeReporter: Compat change id reported: 147798919; UID 10290; state: DISABLED
W/ImageLoader: memoryCache() and memoryCacheSize() calls overlap each other
W/ImageLoader: memoryCache() and memoryCacheSize() calls overlap each other
discCache(), discCacheSize() and discCacheFileCount calls overlap each other
W/ch.chengzhuwan: Accessing hidden field Ldalvik/system/BaseDexClassLoader;->pathList:Ldalvik/system/DexPathList; (greylist, JNI, allowed)
Accessing hidden field Ldalvik/system/DexPathList;->dexElements:[Ldalvik/system/DexPathList$Element; (greylist, JNI, allowed)
Accessing hidden field Ldalvik/system/DexPathList$Element;->dexFile:Ldalvik/system/DexFile; (greylist, JNI, allowed)
Accessing hidden field Ldalvik/system/DexFile;->mFileName:Ljava/lang/String; (greylist, JNI, allowed)
A/ch.chengzhuwan: java_vm_ext.cc:577] JNI DETECTED ERROR IN APPLICATION: JNI GetStaticMethodID called with pending exception java.lang.ClassNotFoundException: Didn't find class "XI.CA.XI.K0" on path: DexPathList[[zip file "/data/app/qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/base.apk"],nativeLibraryDirectories=[/data/app/qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/lib/arm, /data/app/~~qxtWW4bM4RezsKXcHLoUtA==/com.joxtech.chengzhuwang-FXxx2WmfbOPkAhy7FqWZ9Q==/base.apk!/lib/armeabi-v7a, /system/lib, /system/system_ext/lib]]
java_vm_ext.cc:577] at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:207)
java_vm_ext.cc:577] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
java_vm_ext.cc:577] at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
java_vm_ext.cc:577] at java.lang.Object com.netease.nis.sdkwrapper.Utils.rL(java.lang.Object[]) (Utils.java:-2)
java_vm_ext.cc:577] at void com.bun.miitmdid.provider.vivo.VivoProvider.doStart() (SourceFile:-1)
java_vm_ext.cc:577] at void com.bun.miitmdid.provider.BaseProvider$1.run() (SourceFile:-1)
java_vm_ext.cc:577] at void

2021-05-11 15:16 负责人:无 分享
已邀请:
饭饭猫的咸鱼

饭饭猫的咸鱼

有同样的错误,楼主解决了没有。

只不过我这个是funtouch os 10 暂时不清楚是什么原因导致的该问题。

  • 3***@qq.com (作者)

    没有解决,太坑了!老版本的native sdk不崩溃,但是白屏。只在vivo上是这种情况

    2021-06-10 12:16

桂字号小蜜蜂

桂字号小蜜蜂

我也遇到了。老版本的VIVO没问题,新版的就闪退了。

xx01

xx01

楼主解决没?遇到同样的问题了

狗狗祟祟想干嘛

狗狗祟祟想干嘛

我也碰到了解决了吗

桂字号小蜜蜂

桂字号小蜜蜂

解决了,直接放弃。

该问题目前已经被锁定, 无法添加新回复