原文:Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/lidroid/xutils/task/TaskHandler;

Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom lidroid xutils task TaskHandler 如果你用Studio開發,並且要用其他項目作為library,這個問題是很容易出現的。出現這個問題的原因是包的重復引用, ...

2018-01-06 14:36 0 1049 推薦指數:

查看詳情

Android Studio com.android.dex.DexException: Multiple dex files define(重復引用包)

如果你用Android Studio開發,並且要用其他項目作為library,這個問題是很容易出現的。出現這個問題的原因是包的重復引用,意思就是在你自己的項目中引用了某個包,而被你作為library的項目也引用了同一個包,就會有這個問題。 那如何解決呢,我所知道的是有兩種方法: 方法 ...

Fri May 19 01:18:00 CST 2017 0 5051
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM