簡體   English   中英

Android沖突Google Play服務版本

[英]Android conflict google play service version

我使用第3方庫為應用程序實現了新模塊。 在此庫中,他們使用了com.google.android.gms:play-services-base:9.0.2 ,在原始應用程序中,他們使用了com.google.android.gms:play-services:4.3.23 因此發生了沖突,我完全無法同步gradle。 反正有解決此沖突的方法嗎? 原始項目的更新Google Play服務是毫無疑問的,因為工作量會很大。

請重新保存該參考文件: https : //developers.google.com/android/guides/setup

並在您的gradle中添加谷歌播放服務

從6.5版開始,您可以選擇將Google Play服務API編譯到您的應用中。

嘗試做這樣的事情

compile ('com.android.support:recyclerview-v7:22.2.0') {
        exclude module: 'support-v4'
    }

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM