我的搖籃依賴包括:不止一個庫包名
compile'com.google.android.gms:play-services-gcm:8.1.0'
compile 'com.google.android.gms:play-services-analytics:8.1.0'
compile 'com.google.android.gms:play-services-ads:8.1.0
我得到BUILD失敗,錯誤:
Error:Execution failed for task ':app:processDebugResources. 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
我怎樣才能解決這個問題?
沒關係,但我不想從play-services加載所有庫。因爲multiDex :( – anilst
是你所有的gradle依賴關係嗎? – Nawako
不,我有18個以上的 – anilst