Reputation: 56
I am getting this Error while updating one signal Dependency. how can I rectify this??
Dependency failing: com.onesignal:OneSignal:3.12.6 -> com.google.android.gms:play-services-base@[10.2.1, 16.1.99], but play-services-base version was 17.1.0.
Upvotes: 0
Views: 200
Reputation: 128
In your app/build.gradle where you applied the plugin
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
make sure its is before
apply plugin: "com.android.application"
Android studio also gives a warning if the order of the above statements is not correct.
Upvotes: 1
Reputation: 56
I was missed out updating the classpath
in dependencies
dependencies {
classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.6, 0.99.99]
}
Upvotes: 0