Closed jcsomac closed 6 years ago
Did you include the google play services jar? The error states that some classes are missing and the only thing I can think of right now is the gps jar
Try the new release of ti.goosh (version 3.0.0) Make sure to include only the Google Play Libraries that are needed and that there aren't any duplicates. For example if, ti.goosh/3.0.0/lib
contains play-services-base
make sure it is not present in ti.map/xx/lib
Hi guys. i was using this module for Android notifications, and everything works fine, but couple days ago, i upload the app in the Google Play Store and the app just does not start. It stuck in the Splashscreens. Then i go to the developer console and find out the error.
java.lang.NoClassDefFoundError: at ti.goosh.IntentService.parseNotification (IntentService.java:96) at ti.goosh.IntentService.onMessageReceived (IntentService.java:54) at com.google.android.gms.gcm.GcmListenerService.zzq (Unknown Source) at com.google.android.gms.gcm.GcmListenerService.zzp (Unknown Source) at com.google.android.gms.gcm.GcmListenerService.zzo (Unknown Source) at com.google.android.gms.gcm.GcmListenerService.zza (Unknown Source) at com.google.android.gms.gcm.GcmListenerService$1.run (Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:588) at java.lang.Thread.run (Thread.java:818) Caused by: java.lang.ClassNotFoundException: at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass (ClassLoader.java:511) at java.lang.ClassLoader.loadClass (ClassLoader.java:469)
In all the test made to te app works fine, works perfectly. This is my code:
Before the main window is opened i do this:
And the function obtenerPushAndroid is:
What am i doing wrong ? or what else can be ? Thanks in advance..