错误:
任务':app:processDebugGoogleServices'的执行失败.请通过更新google-services插件的版本(此处提供有关最新版本的信息)或将com.google.android.gms的版本更新为8.3.0来修复版本冲突 .
我已经完成了我发现的所有事情.
dependencies {
// This does not break the build when Android Studio is missing the JRebel for Android plugin.
classpath 'com.zeroturnaround.jrebel.android:jr-android-gradle:1.0.+'
classpath 'com.android.tools.build:gradle:2.0.0-alpha3'
classpath 'com.google.gms:google-services:2.0.0-alpha3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Run Code Online (Sandbox Code Playgroud)
并在应用程序gradle中
compile 'com.google.android.gms:play-services:8.4.0'
Run Code Online (Sandbox Code Playgroud)