任何人都可以幫助我解決這個錯誤?顯然沒有版本衝突,因爲你可以在任何地方看到它的9.2.0,我也在gradle文件的末尾寫入apply plugin: 'com.google.gms.google-services'
。版本衝突錯誤顯示,顯然沒有版本衝突
這裏是錯誤的樣子:
任何人都可以幫助我解決這個錯誤?顯然沒有版本衝突,因爲你可以在任何地方看到它的9.2.0,我也在gradle文件的末尾寫入apply plugin: 'com.google.gms.google-services'
。版本衝突錯誤顯示,顯然沒有版本衝突
這裏是錯誤的樣子:
問題是與com.google.android.gms:play-services-auth:10.0.1
相比,與9.2.0
版本其他依賴這是較新的版本。您可以簡單地使用每個版本的最新版本並解決衝突。
因此,要麼去9.2.0
compile 'com.google.android.gms:play-services-auth:9.2.0'
compile 'com.google.firebase:firebase-auth:9.2.0'
或10.0.1
compile 'com.google.android.gms:play-services-auth:10.0.1'
compile 'com.google.firebase:firebase-auth:10.0.1'
而且很明顯,我建議去最新的版本始終。
對於每件事情都使用相同的版本。
compile 'com.google.android.gms:play-services-auth:10.0.1'
compile 'com.google.firebase:firebase-aurh:10.0.1'