Hi,

I have integrated PushWoosh in my Android code for getting the Push Notification using http://docs.pushwoosh.com/docs/native-android-sdk. But the app is getting crash on start up only. It gives the following crash log:

FATAL EXCEPTION: IntentService[GCMRegistrationService] Process: com.example.priyanka.pushwooshdemo, PID: 13899 java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/iid/InstanceID; at com.pushwoosh.GCMRegistrationService.register(Unknown Source) at com.pushwoosh.GCMRegistrationService.onHandleIntent(Unknown Source) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.os.HandlerThread.run(HandlerThread.java:61) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.iid.InstanceID" on path: DexPathList[[zip file "/data/app/com.example.priyanka.pushwooshdemo-1/base.apk"],nativeLibraryDirectories=[/data/app/com.example.priyanka.pushwooshdemo-1/lib/arm, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at com.pushwoosh.GCMRegistrationService.register(Unknown Source) at com.pushwoosh.GCMRegistrationService.onHandleIntent(Unknown Source) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.os.HandlerThread.run(HandlerThread.java:61) Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.iid.InstanceID at java.lang.Class.classForName(Native Method) at java.lang.BootClassLoader.findClass(ClassLoader.java:781) at java.lang.BootClassLoader.loadClass(ClassLoader.java:841) at java.lang.ClassLoader.loadClass(ClassLoader.java:504) ... 7 more Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available Could to please advice what went wrong as i am integrating this first time. Any help would be grateful.

Thanks in advance.

Priyanka Razdan

asked 14 Jan '16, 12:40
priyanka's gravatar image

priyanka
111

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×326
×30

question asked: 14 Jan '16, 12:40

question was seen: 624 times

last updated: 14 Jan '16, 12:40