我的Google服务插件存在问题.
我将谷歌服务更新到最新版本.我从这个网站获得了依赖:https://bintray.com/android/android-tools/com.google.gms.google-services/
Error:Execution failed for task ':app: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 11.2.0.
Run Code Online (Sandbox Code Playgroud)
这是我的Gradle文件:
应用程序中的一个:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "********"
minSdkVersion 23
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' …Run Code Online (Sandbox Code Playgroud) android firebase google-play-services build.gradle android-gradle-plugin