这是我第一次使用崩溃分析,当我打开应用程序时出现了一些错误
从apk(build apk)安装的应用程序我的应用程序只是在启动时强行关闭
当我使用android studio但是从新项目目录运行时(我将所有项目文件夹复制并粘贴到新目录中)。
但是当我使用旧的目录运行android studio时,它没关系。 这是我使用的碰撞库:
compile('com.crashlytics.sdk.android:crashlytics:2.9.1@aar')
06-05 14:47:11.610 23577-23577/com.multi.multichanneling E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.multi.multichanneling, PID: 23577
java.lang.RuntimeException: Unable to get provider com.crashlytics.android.CrashlyticsInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.crashlytics.android.CrashlyticsInitProvider" on path: DexPathList[[zip file "/data/app/com.multi.multichanneling-1/base.apk"],nativeLibraryDirectories=[/data/app/com.multi.multichanneling-1/lib/arm, /data/app/com.multi.multichanneling-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
at android.app.ActivityThread.installProvider(ActivityThread.java:6427)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6016)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5955)
at android.app.ActivityThread.-wrap3(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1707)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6780)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.crashlytics.android.CrashlyticsInitProvider" on path: DexPathList[[zip file "/data/app/com.multi.multichanneling-1/base.apk"],nativeLibraryDirectories=[/data/app/com.multi.multichanneling-1/lib/arm, /data/app/com.multi.multichanneling-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.ActivityThread.installProvider(ActivityThread.java:6412)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6016)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5955)
at android.app.ActivityThread.-wrap3(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1707)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6780)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)
我已经尝试使缓存/重启无效,清理并重建但无效。
请帮忙。
谢谢。