开发者社区> 问答> 正文

6.0手机启动就奔溃报这个错误

E/AndroidRuntime: FATAL EXCEPTION: main Process: com.shulu.read, PID: 15891 java.lang.RuntimeException: Unable to instantiate application com.shulu.read.app.SophixStubApplication: java.lang.ClassNotFoundException: Didn't find class "com.shulu.read.app.SophixStubApplication" on path: DexPathList[[zip file "/data/app/com.shulu.read-1/base.apk"],nativeLibraryDirectories=[/data/app/com.shulu.read-1/lib/arm64, /data/app/com.shulu.read-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]] at android.app.LoadedApk.makeApplication(LoadedApk.java:578) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4935) at android.app.ActivityThread.access$1900(ActivityThread.java:156) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1511) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5677) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.shulu.read.app.SophixStubApplication" on path: DexPathList[[zip file "/data/app/com.shulu.read-1/base.apk"],nativeLibraryDirectories=[/data/app/com.shulu.read-1/lib/arm64, /data/app/com.shulu.read-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at android.app.Instrumentation.newApplication(Instrumentation.java:982) at android.app.LoadedApk.makeApplication(LoadedApk.java:573) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4935)  at android.app.ActivityThread.access$1900(ActivityThread.java:156)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1511)  at android.os.Handler.dispatchMessage(Handler.java:102)  at android.os.Looper.loop(Looper.java:148)  at android.app.ActivityThread.main(ActivityThread.java:5677)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)  Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.shulu.read-1/base.apk at dalvik.system.DexFile.openDexFileNative(Native Method) at dalvik.system.DexFile.openDexFile(DexFile.java:295) at dalvik.system.DexFile. (DexFile.java:80) at dalvik.system.DexFile. (DexFile.java:59) at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279) at dalvik.system.DexPathList.makePathElements(DexPathList.java:248) at dalvik.system.DexPathList. (DexPathList.java:120) at dalvik.system.BaseDexClassLoader. (BaseDexClassLoader.java:48) at dalvik.system.PathClassLoader. (PathClassLoader.java:65) at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57) at android.app.LoadedApk.getClassLoader(LoadedApk.java:376) at android.app.LoadedApk.makeApplication(LoadedApk.java:568) ... 9 more Suppressed: java.lang.ClassNotFoundException: com.shulu.read.app.SophixStubApplication at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 12 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available 09-13 17:30:47.730 3816-3816/? E/BugReceiver: This intent no define to handle

展开
收起
CCCC 2022-09-16 16:56:59 1352 0
1 条回答
写回答
取消 提交回答
  • 你是在测试接入还是? 这个貌似不是6.0 的问题(此答案整理自应用研发平台EMAS开发者交流群)

    2022-09-16 17:13:40
    赞同 展开评论 打赏
来源圈子
更多
收录在圈子:
基于阿里巴巴以及合作伙伴的最佳实践,围绕大前端、云原生领域的相关技术热点(小程序、Serverless、应用中间件、低代码、DevOps)展开行业探讨,与开发者一起探寻云原生时代应用研发的新范式。
问答排行榜
最热
最新

相关电子书

更多
手机京东Crash自动分析处理系统 立即下载
钉钉小程序——为工作方式插上翅膀 立即下载
手机京东Crash自动化分析处理系统 立即下载