Error:Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict
来源:互联网 发布:linux find 子目录 编辑:程序博客网 时间:2024/06/11 19:06
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 9.0.0.
意思是:版本冲突或者版本太低,需要更新google服务插件,最新版本可在什么什么地方下载,或者更新版本
com.google.android.gms to 9.0.0.
解决方法:
1.检查应用级中,是否拥有以下内容,否则就添加。
classpath 'com.google.gms:google-services:3.0.0'
2.可能需要谷歌某种服务,项目级dependencies { classpath 'com.android.tools.build:gradle:2.0.0-alpha7' classpath 'com.google.gms:google-services:2.0.0-alpha7'}
--
为什么下面的需要进行替换呢?
apply plugin: dependencies { classpath 'com.android.tools.build:gradle:2.2.3' classpath 'com.google.gms:google-services:3.0.0' }'
因为google它并不支持老款3.0.0的服务,得想办法去更换里面的方法。3.应用级别,build.gradle中添加
apply plugin: 'com.google.gms.google-services'
4.在开发google广告过程中,可能会缺少
dependencies { // ... compile 'com.google.firebase:firebase-core:9.6.1'}
正在写。。。请稍后
1 0
- Error:Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict
- Error:Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict
- Error:Execution failed for task ':app:dexDebug'.
- Error:Execution failed for task ':app:compileDebugAidl'.
- Error:Execution failed for task ':app:packageDebug'.
- Error:Execution failed for task ':app:dexDebug'.
- Error:Execution failed for task ':app:processDebugResources'.
- Error:Execution failed for task ':app:transformClassesWithDexForDebug&#
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'
- Error:Execution failed for task ':app:transformClassesWithDexForDebug"
- Error:Execution failed for task ':app:mergeDebugResources'
- Error:Execution failed for task ‘:app:clean’.
- Error:Execution failed for task ':app:transformClassesWithDexForUmengDebug'.
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
- Error:Execution failed for task ':app:processDebugManifest'
- Error: Execution failed for task ':app:processDebugResources'.
- Linux中软连接和硬链接的区别
- The selection cannot be run on any server解决办法
- 有关C++模板(template)的编译错误“error LNK2019: 无法解析的外部符号”的分析
- Build msm8953+android 7.0
- 【Zookeeper】源码分析之网络通信(一)
- Error:Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict
- opencv保存16bit图片
- portalAgent项目小结
- 什么时候应该进行影像的大气校正(译)
- QTreeWidget 添加右键菜单
- 微信小程序通过本地缓存实现点赞功能
- Android Intent机制详解
- 润乾报表中的排序
- java模拟多线程socket通信