我gradle這個依賴是這樣的,錯誤:執行失敗的任務:ransformException
dependencies {
compile files('libs/Shutterbug-1.0.0.jar')
compile files('libs/VolleyWithJsonArrayRequest.jar')
compile files('libs/android-async-http-1.4.3.jar')
compile files('libs/geonames-1.1.12.jar')
compile files('libs/jdom-1.0.jar')
compile files('libs/kenburnsview-1.0.6.jar')
compile files('libs/libGoogleAnalyticsServices.jar')
compile files('libs/multiselectlistpreferencecompat.jar')
compile files('libs/universal-image-loader-1.9.1.jar')
compile 'com.android.support:support-v4:23.1.1'
compile 'com.google.android.gms:play-services:8.3.0'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.google.android.gms:play-services-ads:8.3.0'
compile 'com.google.android.gms:play-services-identity:8.3.0'
compile 'com.google.android.gms:play-services-gcm:8.3.0'
compile 'com.google.android.gms:play-services-analytics:8.3.0'
}
但運行在Android工作室1.5的應用程序時,我得到以下錯誤:
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/analytics/internal/Command$1.class
我是fac同樣的問題,我搜索了很多4-5天,但無法解決問題。如果你已經解決了這個問題,那麼如果你能幫助我,那將會很棒。 –
可以解釋如何解決EasyTracker類問題嗎? –