After I upgraded to the 64-bit armeabi library and released the app to googleplay in bundle packaging, I encountered the following problems in googleplay crashes report page:
java.lang.RuntimeException:
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3982)
at android.app.ActivityThread.access$2300 (ActivityThread.java:273)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2050)
at android.os.Handler.dispatchMessage (Handler.java:112)
at android.os.Looper.loop (Looper.java:216)
at android.app.ActivityThread.main (ActivityThread.java:7625)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateReceiver (AppComponentFactory.java:84)
at android.support.v4.app.CoreComponentFactory.instantiateReceiver (CoreComponentFactory.java:56)
at android.app.ActivityThread.handleReceiver (ActivityThread.java:3975)
at android.app.ActivityThread.access$2300 (ActivityThread.java:273)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2050)
at android.os.Handler.dispatchMessage (Handler.java:112)
at android.os.Looper.loop (Looper.java:216)
at android.app.ActivityThread.main (ActivityThread.java:7625)
at java.lang.reflect.Method.invoke (Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:987)
It's only appear on the Android 9 devices
I turn off the R8 in my leatest release version app.But it's appear just like before.Problem still happen
wish your help
add this to gradle.build:
defaultConfig {
...
minSdkVersion 14
targetSdkVersion // your version
...
// Enabling multidex support.
multiDexEnabled true
}
dependencies {
compile 'com.android.support:multidex:1.0.0'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With