0

이것은 내 build.gradle 코드입니다. 오류 : 'app : processDebugGoogleServices'작업을 실행하지 못했습니다.android studio에서 googleservices 오류가 발생했습니다.

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 9.0.0.

내 build.gradle 코드는

apply plugin: 'com.google.gms.google-services' 
apply plugin: 'com.android.application' 
android { 
compileSdkVersion 24 
buildToolsVersion "24.0.1" 
defaultConfig { 
    applicationId "com.example.pandey.nidhiiot" 
    minSdkVersion 16 
    targetSdkVersion 24 
    versionCode 1 
    versionName "1.0" 
    multiDexEnabled true 
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 
} 

하고 내 종속성 컴파일되어 'com.google.android.gms : 플레이 서비스 : 10.0.1'

+2

'build.gradle' 파일의 모든 내용을 표시하십시오. – TruongHieu

답변

0

apply plugin: 'com.google.gms.google-services'을 넣어보십시오 처음이 아닌 app.gradle 파일의 끝에