Gradle同步过程中出现错误“错误:任务执行失败”:app:processDebugGoogleServices'。“

问题描述 投票:-1回答:1

我使用的是Android Studio,确切的错误是

错误:任务':app:processDebugGoogleServices'的执行失败。

请通过更新google-services插件的版本(https://bintray.com/android/android-tools/com.google.gms.google-services/上提供有关最新版本的信息)或将com.google.android.gms的版本更新为11.8.0来修复版本冲突。

android
1个回答
0
投票

首先,如果你制作com.google.android.gms,则只添加一个特定的gms服务:11.8.0'它将加载所有gms服务,所以如果你需要广告,就像下面的广告一样去Go build build(模块应用)并编译'com.google.android.gms:play-services-ads:11.8.0'

© www.soinside.com 2019 - 2024. All rights reserved.