Exception_android_java.util.zip.ZipException: duplicate entry:android/support/multidex/MultiDex
java.util.zip.ZipException: duplicate entry:android/support/multidex/MultiDex.class
gradle裡面的配置multiDexEnabled true和匯入android-support-multidex.jar包二者會重複
defaultConfig {
targetSdkVersion 22
versionCode 1
versionName "1.0"
minSdkVersion 11
multiDexEnabled true
}
解決方法:去掉jar包的匯入,multiDexEnabled true的配置就會自動匯入android-support-multidex.jar包的引用
相關文章
- Android 在 Multidex 下使用 Instant RunAndroidIDE
- Multidex(分包)實現簡要分析IDE
- Multidex(二)之 Dex 預載入優化IDE優化
- MultiDex(三)之非同步載入優化IDE非同步優化
- multidex解決65k方法數問題IDE
- 其實你不知道MultiDex到底有多坑IDE
- Android外掛化(一):使用改進的MultiDex動態載入assets中的apkAndroidIDEAPK
- Android 解決java.util.zip.ZipException: duplicate entry: com/ta/utdid2/a/a.classAndroidJavaException
- RMAN DUPLICATE/RESTORE/RECOVER Mixed Platform Support [ID 1079563.1]RESTPlatform
- ERROR 1062 (23000): Duplicate entry for key 'PRIMARY'Error
- ERROR 1062 (23000): Duplicate entry '0' for key 'PRIMARY'Error
- opatch apply 時碰到 'duplicate entry: META-INF/LICENSE.txt'APP
- 帝國CMS後臺新增資訊報錯Duplicate entry xx for key PRIMARY
- Android:打release包時遇到的一個花式報錯-ZipException: duplicate entry:xx/xx/xx/xx.classAndroidException
- 深入淺出Android Support AnnotationsAndroid
- Android Support Annotations 使用詳解Android
- This template depends on the Android Support libraryAndroid
- Error:Conflict with dependency 'com.android.support:support-annotations' in projErrorAndroid
- Android com.android.support衝突解決Android
- Android Support 庫各版本功能介紹Android
- Ten Reasons Why Android Should Support OpenCLAndroid
- Android Support Library 學習入門Android
- android原始碼檢視 android-support-v4.jarAndroid原始碼JAR
- Xamarin.Android提示找不到mono.Android.Support.v4AndroidMono
- 開啟Android Studio報錯"required plugin “Android Support” is disabled"AndroidUIPlugin
- 從ERROR 1062 (23000) at line Duplicate entry 'R01' for key 'PRIMARY' 能看出什麼Error
- mysql主從複製錯誤:Last_SQL_Error: Error 'Duplicate entry '327' for key 'PRIMARY'' on query. Default databa...MySqlASTError
- 使用Android Support Annotations優化你的程式碼Android優化
- 程式包android.support.v4.app…不存在AndroidAPP
- AndroidX 和 Android support 無法共存的問題Android
- com.android.support衝突的解決辦法Android
- android.support.v4.app.Fragment vs android.app.Fragment 的區別AndroidAPPFragment
- Android Support Library 的新增功能 | 中文教學視訊Android
- duplicate databaseDatabase
- Support Vector MachinesMac
- HTML Entry 原始碼分析HTML原始碼
- 【MySQL】log event entry exceededMySql
- enq: TX - allocate ITL entryENQ