亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

錯誤:修復版本沖突(Google服務插件)

錯誤:修復版本沖突(Google服務插件)

Go
白衣非少年 2019-11-03 04:04:34
根據這個 SO線程,我知道存在版本沖突,但是在從Google獲得新版本后問題仍然存在。錯誤:任務':app:processDebugGoogleServices'的執行失敗。請通過更新google-services插件的版本來解決版本沖突(有關最新版本的信息,請訪問https://bintray.com/android/android-tools/com.google.gms.google-services/)或將com.google.android.gms的版本更新為10.0.1。我的build.gradle(模塊:應用)....dependencies {   compile fileTree(dir: 'libs', include: ['*.jar'])   androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {    exclude group: 'com.android.support', module: 'support-annotations'    })   compile 'com.android.support:appcompat-v7:26.+'   compile 'com.android.support.constraint:constraint-layout:1.0.2'   testCompile 'junit:junit:4.12'   compile 'com.google.firebase:firebase-messaging:10.0.1'   compile 'com.google.android.gms:play-services-maps:11.0.4'   compile 'com.google.android.gms:play-services-location:11.0.4'}apply plugin: 'com.google.gms.google-services'現在需要進行哪些更改?
查看完整描述

3 回答

?
HUX布斯

TA貢獻1876條經驗 獲得超6個贊

我想你改變了


compile 'com.google.firebase:firebase-messaging:11.0.4'


查看完整回答
反對 回復 2019-11-04
?
慕神8447489

TA貢獻1780條經驗 獲得超1個贊

您必須為所有3個庫僅使用一個版本


compile 'com.google.firebase:firebase-messaging:11.0.4'

compile 'com.google.android.gms:play-services-maps:11.0.4'

compile 'com.google.android.gms:play-services-location:11.0.4'

或僅將10.0.1用于3個庫



查看完整回答
反對 回復 2019-11-04
  • 3 回答
  • 0 關注
  • 505 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號