Not able to launch the mobile app from android device

Not able to launch the mobile app from android device

  

Hey All, 


We are facing one issue , we are not able to launch the mobile app from device. We get the below error from logs ..


java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/util/zzw;
at com.google.android.gms.iid.zzd.zzkq(Unknown Source:2)
at com.google.android.gms.iid.zzd.<init>(Unknown Source:33)
at com.google.android.gms.iid.zzd.<init>(Unknown Source:3)
at com.google.android.gms.iid.InstanceID.zza(Unknown Source:24)
at com.google.android.gms.iid.InstanceID.getInstance(Unknown Source:1)
at com.urbanairship.push.GcmRegistrar.register(GcmRegistrar.java:32)
at com.urbanairship.push.ChannelJobHandler.onUpdatePushRegistration(ChannelJobHandler.java:229)
at com.urbanairship.push.ChannelJobHandler.performJob(ChannelJobHandler.java:155)
at com.urbanairship.push.PushManager.onPerformJob(PushManager.java:326)
at com.urbanairship.AirshipService$1.run(AirshipService.java:168)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.common.util.zzw" on path: DexPathList[[zip file "/data/app/com.crosscountry.careercare-T9XJ-yjTCHPlfMQsvxNWxg==/base.apk"],nativeLibraryDirectories=[/data/app/com.crosscountry.careercare-T9XJ-yjTCHPlfMQsvxNWxg==/lib/arm64, /data/app/com.crosscountry.careercare-T9XJ-yjTCHPlfMQsvxNWxg==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

You shoud try to build the apk and test it

We have already done that, it didn't work.

Refresh your Dependencies in project & make sure the Google Plugin or Dependencies you added is correct & updated.


Hello,

Searching on Google for "com.google.android.gms.common.util.zzw" gave this immediate result: https://github.com/rebeccahughes/react-native-device-info/issues/463


Are you using Firebase Messaging? Seems to be a problem with it. Other than that, you'll have to give more details so we can help you.


Cheers!


EDIT: and now one link related to Cordova (https://github.com/phonegap/phonegap-plugin-push/issues/1591)