简体   繁体   English

运行Android Studio项目时出现DX错误

[英]DX Error when running Android Studio project

I am trying to set up my Android Studio project with al its dependencies. 我正在尝试使用其依赖项来设置我的Android Studio项目。 But when i try to run my project i get the following error messages: 但是,当我尝试运行我的项目时,我收到以下错误消息:

Android Dex: [AndroidVI] Unable to execute DX
Android Dex: [AndroidVI] com.android.dx.util.DexException: Multiple dex files define Lcom/androidquery/util/Constants;

Can anybody help me with this 任何人都可以帮助我

Check Whether You added Same jar files more than once. 检查是否多次添加相同的jar文件。

If yes,Remove any one of them from libs folder and clean your project. 如果是,请从libs文件夹中删除其中任何一个并清理您的项目。

检查您的Proguard是否正在运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM