首页 文章

错误:任务':app:processDebugGoogleServices' - com.google.android.gms的执行失败

提问于
浏览
1

我不知道我做错了什么,每当我尝试同步gradle文件时,此消息都会一直显示:

enter image description here

enter image description here

我得到的错误:

错误:任务':app:processDebugGoogleServices'的执行失败 . 请通过更新google-services插件的版本来修复版本冲突(有关最新版本的信息,请访问https://bintray.com/android/android-tools/com.google.gms.google-services/)或将com.google.android.gms的版本更新为11.8.0 .

1 回答

  • 2

    改变那些:

    compile 'com.google.firebase:firebase-storage:10.0.1'
      compile 'com.google.firebase:firebase-auth:10.0.1'
    

    对此:

    compile 'com.google.firebase:firebase-storage:11.8.0'
     compile 'com.google.firebase:firebase-auth:11.8.0'
    

    然后同步,11.8.0是最新版本 .

    选中此项以查看最新的firebase版本:https://firebase.google.com/support/release-notes/android

相关问题