Closed pugwonk closed 8 years ago
Make sure you update Google Support Library and Google Play Services Library in Android SDK to the same (latest) version. The error you receive is that the class in Android Support Library is not as it wanted to be from Google Play Services Library. They have to match.
This issue is definitely not solved. The solution given does not work and I'm getting the same error!
You need Google Play Services > than 9.0.1 https://developers.google.com/android/guides/releases
The Google Play services version 9.0.1 release is now available. This release fixes the following issues with the version 9.0.0 release: Fixes a class change compilation error with ContextCompat.getNoBackupFilesDir().
@shaders Thanks.
I'm getting a crash on load across multiple devices which looks to be very similar to https://github.com/phonegap/phonegap-plugin-push/issues/909. This is using Android SDK Tools 25.1.6.
There's a long and complex thread in the linked bug but, in case it helps debugging, I am using cordova-plugin-mauron85-background-geolocation, which the thread suggests might be related because it links a different version of the support libraries.
I'm using version 5.0.2 of pushwoosh-phonegap-plugin. Everything worked fine prior to me updating the SDK tools.