应用启动失败
- 发布:2024-05-31 08:22
- 更新:2024-07-26 07:54
- 阅读:291
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: windows 11
HBuilderX类型: 正式
HBuilderX版本号: 4.15
手机系统: Android
手机系统版本号: Android 12
手机厂商: 华为
手机机型: 荣耀X20 SE
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
可以正常启动
可以正常启动
实际结果:
1.您的应用被系统检测出存在启动失败功能问题,不符合华为应用市场审核标准。
测试步骤:请参考附件
测试环境:Wi-Fi联网、荣耀X20 SE(Magic 4.1)、P50 Pro(HarmonyOS 2.0.1)、Mate 50 E(HarmonyOS 3.0.0)、畅享9(EMUI 8.2)、P40 Pro(HarmonyOS 2.0.0)、荣耀Play 3(EMUI 9.1)、荣耀90(Magic 7.1)、Mate 30(EMUI 10.1)、中文环境。
1.您的应用被系统检测出存在启动失败功能问题,不符合华为应用市场审核标准。
测试步骤:请参考附件
测试环境:Wi-Fi联网、荣耀X20 SE(Magic 4.1)、P50 Pro(HarmonyOS 2.0.1)、Mate 50 E(HarmonyOS 3.0.0)、畅享9(EMUI 8.2)、P40 Pro(HarmonyOS 2.0.0)、荣耀Play 3(EMUI 9.1)、荣耀90(Magic 7.1)、Mate 30(EMUI 10.1)、中文环境。
bug描述:
05-30 11:40:15.611 D/ApplicationLoaders( 7281): createClassLoader zip: /system/framework/org.apache.http.legacy.jar librarySearchPath: /data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/lib/arm64:/data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/base.apk!/lib/arm64-v8a libraryPermittedPath: /data/user/0/com.xyd.wt parent: java.lang.BootClassLoader@a2d1e4 targetSdkVersion: 30 isBundled: false classLoaderName: null sharedLibraries: null
05-30 11:40:15.611 I/HwNetworkPolicyManager(13559): getHwUidPolicy uid = 18626 policy = 0
05-30 11:40:15.612 I/com.xyd.wt( 7281): The ClassLoaderContext is a special shared library.
05-30 11:40:15.613 I/HiAdKit.PpsCoreService.Cmd(32258): isCmdAllowAccess rom: true permitRegion: 1
05-30 11:40:15.613 D/ApplicationLoaders( 7281): createClassLoader zip: /data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/base.apk librarySearchPath: /data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/lib/arm64:/data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/base.apk!/lib/arm64-v8a libraryPermittedPath: /data/user/0/com.xyd.wt parent: java.lang.BootClassLoader@a2d1e4 targetSdkVersion: 30 isBundled: false classLoaderName: null sharedLibraries: [dalvik.system.PathClassLoader[DexPathList[[zip file "/system/framework/org.apache.http.legacy.jar"],nativeLibraryDirectories=[/data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/lib/arm64, /data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64]]]]
05-30 11:40:15.613 I/PGServer( 2398): checkPkgType. calling pkg: com.huawei.iaware
05-30 11:40:15.613 W/FileUtil(32258): Exception when writing the log file. FileNotFoundException
05-30 11:40:15.613 I/HiAdKit.PpsCoreService.Cmd(32258): call method: reportConsent
05-30 11:40:15.614 W/FileUtil(32258): Exception when writing the log file. FileNotFoundException
05-30 11:40:15.614 I/HiAdKit.PpsCoreService.Cmd(32258): callerPkg: com.huawei.hwid
05-30 11:40:15.614 W/FileUtil(32258): Exception when writing the log file. FileNotFoundException
05-30 11:40:15.616 D/HwNetworkManagementService( 1682): code == CODE_SET_CHR_REPORT_APP_LIST
05-30 11:40:15.616 E/LoadedApk( 7281): Unable to instantiate appComponentFactory
05-30 11:40:15.616 E/LoadedApk( 7281): java.lang.ClassNotFoundException: Didn't find class "androidx.core.app.CoreComponentFactory" on path: DexPathList[[zip file "/data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/base.apk"],nativeLibraryDirectories=[/data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/lib/arm64, /data/app/com.xyd.wt-h2pJ2d6EMISFXGpMEIbNpA==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64]]
05-30 11:40:15.616 E/LoadedApk( 7281): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:209)
05-30 11:40:15.616 E/LoadedApk( 7281): at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
05-30 11:40:15.616 E/LoadedApk( 7281): at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.LoadedApk.createAppFactory(LoadedApk.java:270)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:1005)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.LoadedApk.getClassLoader(LoadedApk.java:1129)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.LoadedApk.getResources(LoadedApk.java:1419)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.ContextImpl.createAppContext(ContextImpl.java:2656)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.ContextImpl.createAppContext(ContextImpl.java:2644)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7452)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.ActivityThread.access$2600(ActivityThread.java:260)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.os.Handler.dispatchMessage(Handler.java:110)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.os.Looper.loop(Looper.java:219)
05-30 11:40:15.616 E/LoadedApk( 7281): at android.app.ActivityThread.main(ActivityThread.java:8668)
05-30 11:40:15.616 E/LoadedApk( 7281): at java.lang.reflect.Method.invoke(Native Method)
05-30 11:40:15.616 E/LoadedApk( 7281): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
05-30 11:40:15.616 E/LoadedApk( 7281): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
05-30 11:40:15.616 D/AudioPolicyService( 793): getUidState(18626) !cacheIter->second.first, return PROCESS_STATE_UNKNOWN
05-30 11:40:15.616 D/AudioPolicyService( 793): getUidState(18626) cacheIter->second.first, return cacheIter->second.second(-1)
05-30 11:40:15.617 I/iconnect:BluetoothApi( 2740): adapter status 12 uniapp如何处理androidx.core.app.CoreComponentFactory