Error:Execution failed for task ':app:processDebugGoogleServices'. in Android Studio
Error:Execution failed for task ':app:processDebugGoogleServices'. in Android Studio
我在 build.gradle
中添加依赖项时出现以下错误
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 8.3.0.
我已将以下依赖项和插件添加到 build.gradle(应用级别)以集成 GCM 3:-
apply plugin: 'com.google.gms.google-services'
compile "com.google.android.gms:play-services:8.3.0"
build.gradle(顶级):-
classpath 'com.google.gms:google-services:1.5.0-beta2'
我们将不胜感激您的建议。
谢谢!
在 google 中调试和搜索后,我知道我在 build.gradle 中添加了 google 播放服务的依赖项,有两个不同的版本。
删除旧的解决了这个问题
谢谢
我在 build.gradle
中添加依赖项时出现以下错误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 8.3.0.
我已将以下依赖项和插件添加到 build.gradle(应用级别)以集成 GCM 3:-
apply plugin: 'com.google.gms.google-services'
compile "com.google.android.gms:play-services:8.3.0"
build.gradle(顶级):-
classpath 'com.google.gms:google-services:1.5.0-beta2'
我们将不胜感激您的建议。
谢谢!
在 google 中调试和搜索后,我知道我在 build.gradle 中添加了 google 播放服务的依赖项,有两个不同的版本。
删除旧的解决了这个问题
谢谢