云打包运行到4.4安卓版本
![1***@qq.com](http://img-cdn-tc.dcloud.net.cn/uploads/avatar/001/02/91/65_avatar_mid.jpg?v=1641801428)
- 发布:2022-09-21 08:46
- 更新:2022-09-23 12:20
- 阅读:466
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 11
HBuilderX类型: 正式
HBuilderX版本号: 3.6.3
手机系统: Android
手机系统版本号: Android 4.4
手机厂商: 模拟器
手机机型: 模拟器
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
运行成功
运行成功
实际结果:
运行失败
运行失败
bug描述:
支持CPU类型已经全部勾选
Android studio捕捉到错误信息
2022-09-21 00:32:22.902 3381-3381/uni.UNI5273D95 E/dalvikvm: Could not find class 'android.os.LocaleList', referenced from method io.dcloud.common.util.language.LanguageUtil.updateSystemLanguage
2022-09-21 00:32:22.902 3381-3381/uni.UNI5273D95 E/dalvikvm: Could not find class 'android.os.LocaleList', referenced from method io.dcloud.common.util.language.LanguageUtil.wrapContextConfigurationAfterO
2022-09-21 00:32:22.972 3381-3397/uni.UNI5273D95 E/weex: tryUseRunTimeApi ? false
2022-09-21 00:32:23.242 3381-3397/uni.UNI5273D95 E/WXParams: setCrashFilePath: /data/data/uni.UNI5273D95/app_crash
2022-09-21 00:32:23.242 3381-3397/uni.UNI5273D95 E/weex: weexjss's Path is/data/app-lib/uni.UNI5273D95-1/libweexjss.so
2022-09-21 00:32:23.252 3381-3397/uni.UNI5273D95 E/weex: getUseSingleProcess is running false
2022-09-21 00:32:23.252 3381-3397/uni.UNI5273D95 E/weex: getReleaseMap:true
2022-09-21 00:32:23.252 3381-3397/uni.UNI5273D95 E/weex: getLibJsbPath is running /data/data/uni.UNI5273D95/cache/cache/weex/libs/weexjsb/x86/libweexjsb.so
2022-09-21 00:32:23.252 3381-3397/uni.UNI5273D95 E/weex: getLibLdPath is running /data/app-lib/uni.UNI5273D95-1:/system/lib
2022-09-21 00:32:23.412 3381-3381/uni.UNI5273D95 E/EGL_emulation: tid 3381: eglSurfaceAttrib(1199): error 0x3009 (EGL_BAD_MATCH)
2022-09-21 00:32:23.422 3381-3381/uni.UNI5273D95 E/Html5Plus-onCreate: 1663720343433
2022-09-21 00:32:23.432 3381-3381/uni.UNI5273D95 E/dalvikvm: Could not find class 'android.content.pm.ShortcutManager', referenced from method io.dcloud.common.util.ShortCutUtil.createShortcutToDeskTop
2022-09-21 00:32:23.432 3381-3381/uni.UNI5273D95 E/dalvikvm: Could not find class 'android.content.pm.ShortcutManager', referenced from method io.dcloud.common.util.ShortCutUtil.requestShortCut
2022-09-21 00:32:23.442 3381-3381/uni.UNI5273D95 E/Html5Plus-onResume: 1663720343448
2022-09-21 00:32:23.632 3381-3381/uni.UNI5273D95 E/EGL_emulation: tid 3381: eglSurfaceAttrib(1199): error 0x3009 (EGL_BAD_MATCH)
2022-09-21 00:32:23.682 3381-3381/uni.UNI5273D95 E/MdidSdkHelper: InvocationTargetException
java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.bun.miitmdid.core.MdidSdkHelper.InitSdk(Unknown Source)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at io.dcloud.h.a.d.b.f.a(Unknown Source)
at io.dcloud.h.a.d.b.f.b(Unknown Source)
at io.dcloud.h.a.d.b.f.c(Unknown Source)
at io.dcloud.h.a.d.b.h.b(Unknown Source)
at io.dcloud.h.c.c.a.b.e.b(Unknown Source)
at io.dcloud.h.c.c.a.b.e.a(Unknown Source)
at io.dcloud.h.c.c.a.b.d.b(Unknown Source)
at io.dcloud.feature.gg.dcloud.ADHandler.pull(Unknown Source)
at io.dcloud.feature.gg.dcloud.AdFeatureImpl.doForFeature(Unknown Source)
at io.dcloud.feature.gg.AdFeatureImplMgr.doForFeature(Unknown Source)
at io.dcloud.a.a(Unknown Source)
at io.dcloud.b$a.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.UnsatisfiedLinkError: Native method not found: com.bun.lib.a.a:(Z)V
at com.bun.lib.a.a(Native Method)
at com.bun.miitmdid.core.MdidSdk.<init>(Unknown Source)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.bun.miitmdid.core.MdidSdkHelper.InitSdk(Unknown Source)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at io.dcloud.h.a.d.b.f.a(Unknown Source)
at io.dcloud.h.a.d.b.f.b(Unknown Source)
at io.dcloud.h.a.d.b.f.c(Unknown Source)
at io.dcloud.h.a.d.b.h.b(Unknown Source)
at io.dcloud.h.c.c.a.b.e.b(Unknown Source)
at io.dcloud.h.c.c.a.b.e.a(Unknown Source)
at io.dcloud.h.c.c.a.b.d.b(Unknown Source)
at io.dcloud.feature.gg.dcloud.ADHandler.pull(Unknown Source)
at io.dcloud.feature.gg.dcloud.AdFeatureImpl.doForFeature(Unknown Source)
at io.dcloud.feature.gg.AdFeatureImplMgr.doForFeature(Unknown Source)
at io.dcloud.a.a(Unknown Source)
at io.dcloud.b$a.run(Unknown Source)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
2022-09-21 00:32:23.702 3381-3381/uni.UNI5273D95 E/doForFeature: AdFeatureImpl load fail-5000:
2022-09-21 00:32:23.752 3381-3381/uni.UNI5273D95 E/DCloud_LOG: fmgr no dp
2022-09-21 00:32:23.772 3381-3381/uni.UNI5273D95 E/dalvikvm: Could not find class 'android.app.NotificationChannelGroup', referenced from method io.dcloud.feature.pdr.RuntimeFeatureImpl.init
2022-09-21 00:32:23.782 3381-3381/uni.UNI5273D95 E/DCloud_LOG: channel:uni.UNI5273D95|__UNI__D914363|129690130108|common;ver:1.9.9.81501;max:3;trim:0;dg:false
2022-09-21 00:32:23.912 3381-3381/uni.UNI5273D95 E/weex: idle from create instance cache size is 0
2022-09-21 00:32:23.922 3381-3397/uni.UNI5273D95 E/weex: end getBundleType type:Vue time:0
2022-09-21 00:32:23.932 3381-3397/uni.UNI5273D95 E/timeline: createInstance :1663720343936
2022-09-21 00:32:23.952 3381-3397/uni.UNI5273D95 E/weex: callModuleMethod >>> invoke module:plus, method:getConfigInfo failed. java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.taobao.weex.bridge.MethodInvoker.invoke(MethodInvoker.java:46)
at com.taobao.weex.bridge.NativeInvokeHelper.invoke(NativeInvokeHelper.java:87)
at com.taobao.weex.bridge.WXModuleManager.dispatchCallModuleMethod(WXModuleManager.java:249)
at com.taobao.weex.bridge.WXModuleManager.callModuleMethod(WXModuleManager.java:230)
at com.taobao.weex.bridge.WXBridgeManager.callModuleMethod(WXBridgeManager.java:527)
at com.taobao.weex.bridge.WXBridgeManager.callNativeModule(WXBridgeManager.java:709)
at com.taobao.weex.bridge.WXBridge.callNativeModule(WXBridge.java:403)
at com.taobao.weex.base.SystemMessageHandler.nativeRunWork(Native Method)
at com.taobao.weex.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:104)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: java.lang.NoSuchMethodError: android.telephony.TelephonyManager.getDeviceId
at io.dcloud.common.util.TelephonyUtil.getMultiIMEI(Unknown Source)
at io.dcloud.common.util.TelephonyUtil.getSBBS(Unknown Source)
at io.dcloud.common.util.TelephonyUtil.getSBBS(Unknown Source)
at io.dcloud.common.util.TelephonyUtil.getIMEI(Unknown Source)
at io.dcloud.common.util.TelephonyUtil.getIMEI(Unknown Source)
at io.dcloud.common.adapter.util.DeviceInfo.initGsmCdmaCell(Unknown Source)
at io.dcloud.common.adapter.ui.AdaUniWebView.getConfigInfo(Unknown Source)
at io.dcloud.feature.weex.extend.PlusModule.getConfigInfo(PlusModule.java:242)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.taobao.weex.bridge.MethodInvoker.invoke(MethodInvoker.java:46)
at com.taobao.weex.bridge.NativeInvokeHelper.invoke(NativeInvokeHelper.java:87)
at com.taobao.weex.bridge.WXModuleManager.dispatchCallModuleMethod(WXModuleManager.java:249)
at com.taobao.weex.bridge.WXModuleManager.callModuleMethod(WXModuleManager.java:230)
at com.taobao.weex.bridge.WXBridgeManager.callModuleMethod(WXBridgeManager.java:527)
at com.taobao.weex.bridge.WXBridgeManager.callNativeModule(WXBridgeManager.java:709)
at com.taobao.weex.bridge.WXBridge.callNativeModule(WXBridge.java:403)
at com.taobao.weex.base.SystemMessageHandler.nativeRunWork(Native Method)
at com.taobao.weex.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:104)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)
1 个回复
DCloud_App_Array
已确认是Bug,HBuilderX3.6.4版本会修复此问题。