Hi, We recently integrated pushwoosh Unity package into our game. However the game crash loading the game:

Caused by: java.lang.NoClassDefFoundError: com.google.android.gms.iid.InstanceID

Does anybody know a workaround for this issue, we are currently using google play plugin 11.0.4 and require this ?

Regards, Matt

asked 07 Sep '17, 10:59
mattr's gravatar image



As far as I can see, my colleague Vitaly have already answered your question in the support ticket.

Just in case, I will copy his answer in order for other visitors to see it:

Pushwoosh Android SDK and Pushwoosh Unity plugin, in particular, do support Play Services v11. I have checked the plugin you reference and it seems that it does not support GCM at all. The plugin does not contain com.google.android.gms.gcm package and it should be manually added. Please refer to the following issue in this plugin's repo:


You can always find .aar of Play Services packages in the following directory:


For example, on my Mac it is located in /Users/pushwoosh/Library/Android/sdk/extras/google/android/gms/play-services-gcm/11.0.4/play-services-gcm-11.0.4.aar

Please make sure that you have a required version of the lib installed via Android SDK Manager.

You will also have to include some other Google Play Services packages. You can find it listed here:


Just replace 9.6.1 versions with 11.0.4. Also, the plugin you currently use might have some of these packages included. In this case, you will catch a dexer exception (already added). Then remove one of the instances and you should be fine.

Regards, Ivan

permanent link
answered 29 Sep '17, 03:18
iskoritzky's gravatar image


Your answer
toggle preview

Follow this question

By Email:

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



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:


question asked: 07 Sep '17, 10:59

question was seen: 688 times

last updated: 29 Sep '17, 03:18