2015-09-28 39 views
0

我剛試圖將play-services-analytics7.5.0更新爲8.1.0,並且剛更改了gradle中的版本號。而我得到了什麼:錯誤:不止一個包名爲'com.google.android.gms'(v。8.1.0)的庫

> Error: more than one library with package name 'com.google.android.gms' 
You can temporarily disable this error with android.enforceUniquePackageName=false 
However, this is temporary and will be enforced in 1.0 

rebuildclean沒有幫助。我也嘗試刪除這個庫的文件夾,沒有效果。如果我將號碼更改爲7.8.0(或回到7.5.0),它也可以正常工作,但不會與8.1.0

我的錯誤在哪裏?

回答

1

最喜歡你有另一個庫取決於版本7.5.0。嘗試運行

gradlew :you_project_name:dependancies 

要弄明白。

相關問題