You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We have added mlkit-language-id dependency.
com.google.mlkit:language-id:17.0.6
We are getting crash on Android 9 and Android 10 on Huawei and Moto devices.
Following is the stacktrace:
Fatal Exception: java.lang.RuntimeException: Unable to get provider com.google.mlkit.common.internal.MlKitInitProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.mlkit.common.internal.MlKitInitProvider" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/base.apk", zip file "/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.arm64_v8a.apk", zip file "/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.xxxhdpi.apk"],nativeLibraryDirectories=[/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/lib/arm64, /data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/base.apk!/lib/arm64-v8a, /data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.xxxhdpi.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
at android.app.ActivityThread.installProvider(ActivityThread.java:6672)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6214)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6122)
at android.app.ActivityThread.access$1200(ActivityThread.java:213)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:215)
at android.app.ActivityThread.main(ActivityThread.java:6952)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)
Caused by java.lang.ClassNotFoundException: Didn't find class "com.google.mlkit.common.internal.MlKitInitProvider" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/base.apk", zip file "/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.arm64_v8a.apk", zip file "/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.xxxhdpi.apk"],nativeLibraryDirectories=[/data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/lib/arm64, /data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/base.apk!/lib/arm64-v8a, /data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/com.glip.mobile-BdwhP14eAxXHZjHnGolpfQ==/split_config.xxxhdpi.apk!/lib/arm64-v8a, /system/lib64, /system/vendor/lib64]]
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.instantiateProvider(AppComponentFactory.java:121)
at androidx.core.app.CoreComponentFactory.instantiateProvider(CoreComponentFactory.java:66)
at android.app.ActivityThread.installProvider(ActivityThread.java:6656)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:6214)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6122)
at android.app.ActivityThread.access$1200(ActivityThread.java:213)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1816)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:215)
at android.app.ActivityThread.main(ActivityThread.java:6952)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)
To Reproduce
Launch the App
Expected behavior
App should not crash
SDK Info:
com.google.mlkit:language-id:17.0.6
Smartphone:
Huawei, Model:Y9 Prime 2019
Motorola, Model:Moto Z (2) Force
Development Environment: (For Android issue feel free to skip this section)
The text was updated successfully, but these errors were encountered:
Describe the bug
We have added mlkit-language-id dependency.
We are getting crash on Android 9 and Android 10 on Huawei and Moto devices.
Following is the stacktrace:
To Reproduce
Launch the App
Expected behavior
App should not crash
SDK Info:
com.google.mlkit:language-id:17.0.6
Smartphone:
Development Environment:
(For Android issue feel free to skip this section)
The text was updated successfully, but these errors were encountered: