谁能告诉到底怎么回事!!!!整了快2天了,一直闪退!!!!!
Process: com.geng.buglytest, PID: 15731 java.lang.RuntimeException: Unable to instantiate application com.geng.buglytest.SampleApplication: com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:createDelegate failed at android.app.LoadedApk.makeApplication(LoadedApk.java:1046) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:515) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) Caused by: com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:createDelegate failed at com.tencent.tinker.loader.app.TinkerApplication.createDelegate(Unknown Source:99) at com.tencent.tinker.loader.app.TinkerApplication.ensureDelegate(Unknown Source:5) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(Unknown Source:15) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(Unknown Source:11) at android.app.Application.attach(Application.java:198) at android.app.Instrumentation.newApplication(Instrumentation.java:1104) at android.app.Instrumentation.newApplication(Instrumentation.java:1088) at android.app.LoadedApk.makeApplication(LoadedApk.java:1040) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:515) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) Caused by: java.lang.ClassNotFoundException: com.geng.buglytest.SampleApplicationLike at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:453) at com.tencent.tinker.loader.app.TinkerApplication.createDelegate(Unknown Source:7) at com.tencent.tinker.loader.app.TinkerApplication.ensureDelegate(Unknown Source:5) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(Unknown Source:15) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(Unknown Source:11) at android.app.Application.attach(Application.java:198) at android.app.Instrumentation.newApplication(Instrumentation.java:1104) at android.app.Instrumentation.newApplication(Instrumentation.java:1088) at android.app.LoadedApk.makeApplication(LoadedApk.java:1040) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:515) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.geng.buglytest.SampleApplicationLike" on path: DexPathList[[zip file "/data/app/com.geng.buglytest-VR9_9G9P49VQGiS4uP9rJQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.geng.buglytest-VR9_9G9P49VQGiS4uP9rJQ==/lib/arm, /data/app/com.geng.buglytest-VR9_9G9P49VQGiS4uP9rJQ==/base.apk!/lib/armeabi, /system/lib, /vendor/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:453) at com.tencent.tinker.loader.app.TinkerApplication.createDelegate(Unknown Source:7) at com.tencent.tinker.loader.app.TinkerApplication.ensureDelegate(Unknown Source:5) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(Unknown Source:15) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(Unknown Source:11) at android.app.Application.attach(Application.java:198) at android.app.Instrumentation.newApplication(Instrumentation.java:1104) at android.app.Instrumentation.newApplication(Instrumentation.java:1088) at android.app.LoadedApk.makeApplication(LoadedApk.java:1040) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:515) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) 2019-07-12 19:04:30.813 15731-15731/? E/Tinker.UncaughtHandler: TinkerUncaughtHandler catch exception:java.lang.RuntimeException: Unable to instantiate application com.geng.buglytest.SampleApplication: com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:createDelegate failed at android.app.LoadedApk.makeApplication(LoadedApk.java:1046) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:515) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) Caused by: com.tencent.tinker.loader.TinkerRuntimeException: Tinker Exception:createDelegate failed at com.tencent.tinker.loader.app.TinkerApplication.createDelegate(Unknown Source:99) at com.tencent.tinker.loader.app.TinkerApplication.ensureDelegate(Unknown Source:5) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(Unknown Source:15) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(Unknown Source:11) at android.app.Application.attach(Application.java:198) at android.app.Instrumentation.newApplication(Instrumentation.java:1104) at android.app.Instrumentation.newApplication(Instrumentation.java:1088) at android.app.LoadedApk.makeApplication(LoadedApk.java:1040) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:515) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) Caused by: java.lang.ClassNotFoundException: com.geng.buglytest.SampleApplicationLike at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:453) at com.tencent.tinker.loader.app.TinkerApplication.createDelegate(Unknown Source:7) at com.tencent.tinker.loader.app.TinkerApplication.ensureDelegate(Unknown Source:5) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(Unknown Source:15) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(Unknown Source:11) at android.app.Application.attach(Application.java:198) at android.app.Instrumentation.newApplication(Instrumentation.java:1104) at android.app.Instrumentation.newApplication(Instrumentation.java:1088) at android.app.LoadedApk.makeApplication(LoadedApk.java:1040) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:515) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.geng.buglytest.SampleApplicationLike" on path: DexPathList[[zip file "/data/app/com.geng.buglytest-VR9_9G9P49VQGiS4uP9rJQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.geng.buglytest-VR9_9G9P49VQGiS4uP9rJQ==/lib/arm, /data/app/com.geng.buglytest-VR9_9G9P49VQGiS4uP9rJQ==/base.apk!/lib/armeabi, /system/lib, /vendor/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at java.lang.Class.classForName(Native Method) at java.lang.Class.forName(Class.java:453) at com.tencent.tinker.loader.app.TinkerApplication.createDelegate(Unknown Source:7) at com.tencent.tinker.loader.app.TinkerApplication.ensureDelegate(Unknown Source:5) at com.tencent.tinker.loader.app.TinkerApplication.onBaseContextAttached(Unknown Source:15) at com.tencent.tinker.loader.app.TinkerApplication.attachBaseContext(Unknown Source:11) at android.app.Application.attach(Application.java:198) at android.app.Instrumentation.newApplication(Instrumentation.java:1104) at android.app.Instrumentation.newApplication(Instrumentation.java:1088) at android.app.LoadedApk.makeApplication(LoadedApk.java:1040) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6125) at android.app.ActivityThread.-wrap1(Unknown Source:0) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1839) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:197) at android.app.ActivityThread.main(ActivityThread.java:7022)
直接run->app没有问题,但是按照视频的方法加了签名混淆打包之后,就是一直闪退,甚至重新了代码,也用工具比对了,处理和老师的版本、报名有点差别,其他代码没有问题!不知道怎么回事!!!!!耽误我的时间!!!!!!
源自:热修复
3-3 生效patch
26
收起
正在回答 回答被采纳积分+1
2回答
3.Android 高级应用与Kotlin综合实战
- 参与学习 人
- 提交作业 116 份
- 解答问题 1012 个
本阶段是提升项目经验的必备,除Android开发的高级控件,还有Android官方大力推荐的开发语言Kotlin,未来Android发展的方向,最后使用Kotlin来开发热门电商项目。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星