集成Google第三方登录时出现的异常

Error:Execution failed for task ':app:processAndroidmarketDebugGoogleServices'.
> 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.

解决这个问题可以按照上文中提示的那样子来:

思路一

直接将程序中的依赖降级为compile 'com.google.android.gms:play-services-auth:9.0.0'
不过这种方式很明显会使得第三方的一些新的实现方案没有办法使用。

思路二

按照错误信息中说的那样,到https://bintray.com/android/android-tools/com.google.gms.google-services/ 中查询最新版本的谷歌服务的版本,然后将项目中的版本更新到指定的版本。

猜你喜欢

转载自blog.csdn.net/github_35186068/article/details/78756584