Closed abada closed 8 years ago
This error cannot cause crash. There should be something else in the log.
I get this error as well, however it doesn't cause the app to crash. Ti SDK v5.3.0.v20160421080259
This error is harmless. You can safely ignore it.
After using latest ti sdk 5.3.0.v20160503133640
This error shown
[ERROR] AndroidRuntime: FATAL EXCEPTION: IntentService[GCMRegistrationService]
[ERROR] AndroidRuntime: Process: com.emoney.salla, PID: 13912
[ERROR] AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/iid/InstanceID;
[ERROR] AndroidRuntime: at com.pushwoosh.GCMRegistrationService.register(GCMRegistrationService.java:37)
[ERROR] AndroidRuntime: at com.pushwoosh.GCMRegistrationService.onHandleIntent(GCMRegistrationService.java:106)
[ERROR] AndroidRuntime: at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
[ERROR] AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:111)
[ERROR] AndroidRuntime: at android.os.Looper.loop(Looper.java:214)
[ERROR] AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
[ERROR] AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.iid.InstanceID" on path: DexPathList[[zip file "/data/app/com.emoney.salla-1/base.apk"],nativeLibraryDirectories=[/data/app/com.emoney.salla-1/lib/arm, /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: ... 6 more
[ERROR] AndroidRuntime: Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.iid.InstanceID
[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: ... 7 more
[ERROR] AndroidRuntime: Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
You are using old google-play-services.jar which doesn't have com.google.android.gms.iid.InstanceID definition.
When using google-play-services.jar
which attached with pushwoosh module , i can not run my app , it freezes at
[INFO] Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java "-Xmx1024M" ....
I am using analytics.google 3.2.0
and ti.map 2.3.10
How can make my app works with all these modules , specially every module used different google-play-services.jar
version :(
dexer takes incredibly long long long long long time with google-play-services.jar (thanks Google). Please be patient.
Ok thank you , i will try again
dexer still running :( time elapsed 20 Minutes !
Here is related thread: https://github.com/Pushwoosh/pushwoosh-appcelerator-titanium/issues/15 You can try shrinking google-play-services.jar for example using play-services*.jar from https://github.com/Pushwoosh/pushwoosh-xamarin/tree/master/Android/PushwooshSDK/Jars instead of google-play-services.jar
I just used
V1.3.1
android module , and i have an issueand the app crashed !
I have
Ti SDK 5.2.2.GA