Question:
I am getting a FATAL EXCEPTION in my Android application that leads to application crash using the version of ti.playservices 16.1.2. How can I fix it?
Here's the crash log:
[ERROR] AndroidRuntime: FATAL EXCEPTION: main
[ERROR] AndroidRuntime: Process: br.com.****, PID: 13347
[ERROR] AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/internal/zzbo;
[ERROR] AndroidRuntime: at com.google.firebase.provider.FirebaseInitProvider.attachInfo(Unknown Source)
[ERROR] AndroidRuntime: at android.app.ActivityThread.installProvider(ActivityThread.java:6868)
[ERROR] AndroidRuntime: at android.app.ActivityThread.installContentProviders(ActivityThread.java:6463)
[ERROR] AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6403)
[ERROR] AndroidRuntime: at android.app.ActivityThread.access$1800(ActivityThread.java:229)
[ERROR] AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1887)
[ERROR] AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
[ERROR] AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
[ERROR] AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7325)
[ERROR] AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
[ERROR] AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
[ERROR] AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
[ERROR] AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.google.android.gms.common.internal.zzbo” on path: DexPathList[[zip file “/data/app/br.com.****/base.apk”],nativeLibraryDirectories=[/data/app/br.com.****/lib/arm, /data/app/br.com.****/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]
[ERROR] AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
[ERROR] AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
[ERROR] AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
[ERROR] AndroidRuntime: ... 12 more
[ERROR] AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.common.internal.zzbo
[ERROR] AndroidRuntime: at java.lang.Class.classForName(Native Method)
[ERROR] AndroidRuntime: at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
[ERROR] AndroidRuntime: at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
[ERROR] AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
[ERROR] AndroidRuntime: ... 13 more
[ERROR] AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
Answer:
Generally, This behaviour occurs when using the SDK version lower than 5.13.2 and arises due to a conflict of ti.playservices library versions.
In order to use the version of ti.playservices 16.1.2 in your application, please note that the version of Pushwoosh-Titanium SDK should be no lower than 5.13.2
https://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/releases/tag/5.13.2
Comments
0 comments
Please sign in to leave a comment.