Recently I update my Android Studio, and this error comes out. Any suggestions?
Thanks so much.
Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.
java.util.zip.ZipException: duplicate entry:android/support/annotation/AnimRes.class
android { compileSdkVersion 23 buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.tankexchange.android.app.tankwallet"
minSdkVersion 16
targetSdkVersion 23
versionCode 21
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':library_volley')
compile project(':library_api')
compile "com.android.support:support-v4:23.1.1"
compile "com.android.support:support-v13:23.1.1"
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:cardview-v7:23.1.1'
compile 'com.android.support:gridlayout-v7:23.1.1'
compile 'com.google.android.gms:play-services-location:8.3.0'
compile 'com.google.android.gms:play-services-maps:8.3.0'
compile 'com.google.android.gms:play-services-plus: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'
compile 'com.google.maps.android:android-maps-utils:0.3+'
compile 'com.makeramen:roundedimageview:2.1.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile('com.github.afollestad.material-dialogs:core:0.8.5.3@aar') {
transitive = true
}
compile 'com.flipboard:bottomsheet-core:1.4.3'
compile 'com.facebook.rebound:rebound:0.3.7'
compile 'me.grantland:autofittextview:0.2.1'
compile 'com.balysv:material-ripple:1.0.2'
compile 'com.squareup.okhttp:okhttp-urlconnection:2.7.0'
compile 'com.karumi:dexter:2.1.3'
compile 'com.braintreepayments.api:braintree:2.+'
compile 'com.braintreepayments:card-form:2.1.1'
compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') {
transitive = true;
}
}
}