-
1. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
simon.macdonaldJun 7, 2016 12:14 PM (in response to victord12846248)
Yes, Google screwed up and we need a fix from them. In the meantime you can attempt to force the plugin to use an earlier version of the support library. That's what I've done for the PhoneGap Push Plugin and it seems to be working Latest Play store service breaks phonegap-plugin-push · Issue #909 · phonegap/phonegap-plugin-push · GitHub
-
2. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
bvdecicco Jun 8, 2016 8:19 AM (in response to simon.macdonald)Any updates on this by any chance?
-
3. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
bvdecicco Jun 9, 2016 6:42 AM (in response to victord12846248)1 person found this helpfulJust found out that the 5.1.1 version of the pushwoosh-cordova-plugin plug-in works. No more crashing!
-
4. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
BokiJac Jun 11, 2016 12:34 PM (in response to bvdecicco)Yes this version of plugin is working also in my app
-
5. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
rali14 Jun 11, 2016 11:26 PM (in response to BokiJac)How do you specify phonegap build to use version 5.1.1 version of the pushwoosh-cordova-plugin?
For the Phonegap build, I only have <gap:plugin name="pushwoosh-pgb-plugin" source="npm" />
-
6. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
rali14 Jun 12, 2016 12:01 AM (in response to rali14)Ah, nvm, figured it out. For those who don't know, you need to add this to your config instead of the original:
<plugin name="pushwoosh-pgb-plugin" spec="5.1.1" />
-
7. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
victord12846248 Jun 15, 2016 12:31 AM (in response to victord12846248)Should occurs if you use latest version 5.1.2.
As @simon.macdonald detailed on github:
check what version of the v4 support jar you have on your development machine. If it is 24 or higher you will run into the problem.
The 3rd June: [Android] gradle dependencies fixes
Replace
<framework src="com.google.android.gms:play-services-gcm:8.4.0" />
<framework src="com.google.android.gms:play-services-location:8.4.0" />
<framework src="com.android.support:support-v4:23.1.0" />
By
<framework src="com.google.android.gms:play-services-gcm:+" />
<framework src="com.google.android.gms:play-services-location:+" />
<framework src="com.android.support:support-v4:+" />
-
8. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
Cédric M. Jun 20, 2016 12:04 PM (in response to simon.macdonald)Hello there,
Still having this bug... and it looks like Google has published an update on may 27 : google cloud messaging - IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM - Stack Ove…
Any update PGB team ?
-
9. Re: All my recent Android build crash, since deploy of Google Play Services 9.x
mobilec93772270 Jun 24, 2016 7:04 AM (in response to Cédric M.)I was able to fix it forcing the phonegap-plugin-push to version 1.7.0 (this is only for Phonegap Build)
<gap:plugin name="phonegap-plugin-push" source="npm" version="1.7.0">