Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application crash #4

Open
VKdeveloper opened this issue Jul 1, 2020 · 1 comment
Open

Application crash #4

VKdeveloper opened this issue Jul 1, 2020 · 1 comment

Comments

@VKdeveloper
Copy link

When i tried using your library in Android 10 ,

Following error is generated in log:

java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzaa; at com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source:2) at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:0) at android.app.ActivityThread.installProvider(ActivityThread.java:7024) at android.app.ActivityThread.installContentProviders(ActivityThread.java:6569) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6464) at android.app.ActivityThread.access$1300(ActivityThread.java:220) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.app.ActivityThread.main(ActivityThread.java:7397) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.internal.zzaa" on path: DexPathList[[zip file "/data/app/com.infoteksoftware.ble-qz_c-w9JTCSwfyWzzsR8ug==/base.apk"],nativeLibraryDirectories=[/data/app/com.infoteksoftware.ble-qz_c-w9JTCSwfyWzzsR8ug==/lib/arm64, /data/app/com.infoteksoftware.ble-qz_c-w9JTCSwfyWzzsR8ug==/base.apk!/lib/arm64-v8a, /system/lib64, /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 com.google.firebase.provider.FirebaseInitProvider.zza(Unknown Source:2)  at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source:0)  at android.app.ActivityThread.installProvider(ActivityThread.java:7024)  at android.app.ActivityThread.installContentProviders(ActivityThread.java:6569)  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6464)  at android.app.ActivityThread.access$1300(ActivityThread.java:220)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1860)  at android.os.Handler.dispatchMessage(Handler.java:107)  at android.os.Looper.loop(Looper.java:214)  at android.app.ActivityThread.main(ActivityThread.java:7397)  at java.lang.reflect.Method.invoke(Native Method)  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:935) 

When i removed your library, everything works fine.

Is it something to do with your old version of gms ?

@VKdeveloper
Copy link
Author

VKdeveloper commented Jul 1, 2020

I have downloaded your code and done all the necessary changes, there is also small typo in the code.
After doing all the changes. Library gave no errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant