Version update 3.7.0 fails to build and gives the following error:
> Could not find com.google.android.gms:play-services-gcm:11.6.99.
Required by:
project :app > com.onesignal:OneSignal:3.7.0
> Could not find com.google.android.gms:play-services-location:11.6.99.
Required by:
project :app > com.onesignal:OneSignal:3.7.0
It is overriding Play Services version. I have the latest OneSignal Gradle plugin - 0.8.0 with the following dependency - compile 'com.onesignal:OneSignal:[3.6.5, 3.99.99]' Also, my Play Services version is set to the latest 11.6.0
Same here, and I can't sync my gradle! Any ideas on how to force OneSignal 3.6.5? (at least to be able to compile my project)
@amautone I complied with the older version with compile 'com.onesignal:OneSignal:3.6.5', and it synced fine. But fails with the latest version.
@joelfernandes19 thank you! I was using 'compile com.onesignal:OneSignal:[3.6.5, 3.99.99]' but in this way was still compiling with the latest one (3.7.0) giving me error
I was also having the same issue since morning, whereas my project was running fine till yesterday . Thanks @amautone its working now.
Sorry for the issue, we just released a 3.7.1 version to fix the dependency ranges.
The root of the issue was that the OneSignal-Gradle-Plugin 0.8.0 does not correctly handle the ending inclusive version ranges that was set for it's dependencies in release 3.7.0.
Works fine now. Thanks for the update @jkasten2
Most helpful comment
@amautone I complied with the older version with
compile 'com.onesignal:OneSignal:3.6.5', and it synced fine. But fails with the latest version.