試圖執行的GCM通知的版本,拿到了衝突錯誤錯誤:請修正版本衝突或者通過更新的谷歌服務插件
**錯誤:執行失敗的任務「:應用程序:processDebugGoogleServices」。
Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 8.3.0.**
dependencies {
compile project(':viewPagerIndicator')
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.4'
compile 'com.android.support:appcompat-v7:24.2.0'
compile 'org.apache.httpcomponents:httpclient:4.5'
compile 'com.android.support:recyclerview-v7:24.2.0'
compile 'com.google.android.gms:play-services:9.4.0'
compile 'com.facebook.android:facebook-android-sdk:4.0.0'
compile 'com.koushikdutta.ion:ion:2.+'
compile 'com.github.bumptech.glide:glide:3.6.1'
compile 'com.android.support:multidex:1.0.0'
compile 'com.google.android.gms:play-services-ads:9.4.0'
compile 'com.google.android.gms:play-services-auth:9.4.0'
compile 'com.google.android.gms:play-services-gcm:9.4.0'
//classpath 'com.splunk:mint-gradle-android-plugin:5.1.0'
// compile 'com.splunk:mint-android-sdk:5.1.0'
//compile 'com.splunk:mint-android-instrumentation-okhttp:5.1.0'
compile 'com.splunk.mint:mint:5.0.0'
}
apply plugin: 'com.google.gms.google-services'
這裏是我的應用搖籃
buildscript {
repositories {
jcenter()
maven{
url "https://mint.splunk.com/gradle/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.google.gms:google-services:1.5.0-beta2'
classpath 'com.android.tools.build:gradle:2.0.0-alpha6'
}
}
請幫我我可以做什麼? – ahmad