After detach Android run failed

#1

Android run failed after detach. x_x

My exp SDK Version is 24.0.0.
Android 5.1, API 22 run failed, but Android 7.1 API 25 run success!

12-21 14:48:18.443 19860-19860/com.hongtangli.crm I/MultiDex: VM with version 2.1.0 has multidex support
12-21 14:48:18.443 19860-19860/com.hongtangli.crm I/MultiDex: install
12-21 14:48:18.443 19860-19860/com.hongtangli.crm I/MultiDex: VM has multidex support, MultiDex support library is disabled.
12-21 14:48:18.444 19860-19860/com.hongtangli.crm D/ActivityThread: installProvider: context.getPackageName()=com.hongtangli.crm
12-21 14:48:18.446 19860-19860/com.hongtangli.crm E/art: ClassLinker::FindClass not found:Lcom/google/firebase/provider/FirebaseInitProvider;
12-21 14:48:18.447 19860-19860/com.hongtangli.crm D/AndroidRuntime: Shutting down VM
12-21 14:48:18.448 19860-19860/com.hongtangli.crm E/AndroidRuntime: FATAL EXCEPTION: main
                                                                    Process: com.hongtangli.crm, PID: 19860
                                                                    java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/com.hongtangli.crm-1/base.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.hongtangli.crm-1/lib/arm, /vendor/lib, /system/lib]]
                                                                        at android.app.ActivityThread.installProvider(ActivityThread.java:5373)
                                                                        at android.app.ActivityThread.installContentProviders(ActivityThread.java:4941)
                                                                        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4875)
                                                                        at android.app.ActivityThread.access$1500(ActivityThread.java:182)
                                                                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1554)
                                                                        at android.os.Handler.dispatchMessage(Handler.java:111)
                                                                        at android.os.Looper.loop(Looper.java:194)
                                                                        at android.app.ActivityThread.main(ActivityThread.java:5682)
                                                                        at java.lang.reflect.Method.invoke(Native Method)
                                                                        at java.lang.reflect.Method.invoke(Method.java:372)
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963)
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
                                                                     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.provider.FirebaseInitProvider" on path: DexPathList[[zip file "/data/app/com.hongtangli.crm-1/base.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_dependencies_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_0_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_1_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_2_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_3_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_4_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_5_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_6_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_7_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_8_apk.apk", zip file "/data/app/com.hongtangli.crm-1/split_lib_slice_9_apk.apk"],nativeLibraryDirectories=[/data/app/com.hongtangli.crm-1/lib/arm, /vendor/lib, /system/lib]]
                                                                        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.ActivityThread.installProvider(ActivityThread.java:5358)
                                                                        at android.app.ActivityThread.installContentProviders(ActivityThread.java:4941) 
                                                                        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4875) 
                                                                        at android.app.ActivityThread.access$1500(ActivityThread.java:182) 
                                                                        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1554) 
                                                                        at android.os.Handler.dispatchMessage(Handler.java:111) 
                                                                        at android.os.Looper.loop(Looper.java:194) 
                                                                        at android.app.ActivityThread.main(ActivityThread.java:5682) 
                                                                        at java.lang.reflect.Method.invoke(Native Method) 
                                                                        at java.lang.reflect.Method.invoke(Method.java:372) 
                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:963) 
                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758) 
                                                                    	Suppressed: java.lang.ClassNotFoundException: com.google.firebase.provider.FirebaseInitProvider
                                                                        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)
                                                                        		... 13 more
                                                                     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
12-21 14:53:18.839 19860-19860/com.hongtangli.crm I/Process: Sending signal. PID: 19860 SIG: 9
0 Likes

closed #2

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

0 Likes