Assigned
Status Update
Comments
ru...@gmail.com <ru...@gmail.com> #2
Any updates on this? It's been a month already since I reported it, and it seems this crash is occurring quite frequently for my users.
ki...@mercari.com <ki...@mercari.com> #3
I am still regularly receiving reports about this issue, and it seems it has not been addressed in the latest 1.4.0-rc01 release.
an...@gmail.com <an...@gmail.com> #4
Seems like a fairly easy fix on our end. I'll see to that it is fixed in 1.5.
Description
# Crashlytics - Stack trace
# Application: com.xxx.xxx
Fatal Exception: java.lang.RuntimeException: Unable to get provider androidx.startup.InitializationProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.startup.InitializationProvider" on path: DexPathList[[zip file "/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/base.apk", zip file "/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/split_config.arm64_v8a.apk", zip file "/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/split_config.xhdpi.apk"],nativeLibraryDirectories=[/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/lib/arm64, /data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/base.apk!/lib/arm64-v8a, /data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/split_config.xhdpi.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]
at android.app.ActivityThread.installProvider(ActivityThread.java:7512)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:7029)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6935)
at android.app.ActivityThread.access$1600(ActivityThread.java:259)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2110)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:230)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
Caused by java.lang.ClassNotFoundException: Didn't find class "androidx.startup.InitializationProvider" on path: DexPathList[[zip file "/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/base.apk", zip file "/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/split_config.arm64_v8a.apk", zip file "/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/split_config.xhdpi.apk"],nativeLibraryDirectories=[/data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/lib/arm64, /data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/base.apk!/lib/arm64-v8a, /data/app/com.rapido.rider-vajsEbXcx_ebsGDCd4OHbQ==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/xxx-vajsEbXcx_ebsGDCd4OHbQ==/split_config.xhdpi.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateProvider(AppComponentFactory.java:147)
at androidx.core.app.CoreComponentFactory.instantiateProvider(CoreComponentFactory.java:67)
at android.app.ActivityThread.installProvider(ActivityThread.java:7496)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:7029)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6935)
at android.app.ActivityThread.access$1600(ActivityThread.java:259)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2110)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:230)
at android.app.ActivityThread.main(ActivityThread.java:7880)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:526)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1034)
Not able to reproduce this issue locally. It was reported in Crashlytics. I checked the APK which was deployed in Play Store. androidx.startup.InitializationProvider is present in primary dex.
Component used: androidx.startup:startup-runtime
Version used: 1.1.1
Devices/Android versions reproduced on:
89% - Android 10
76% - Xiaomi devices