7

I am trying to set up my Android Studio project with al its dependencies. 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

sn0ep
  • 3,843
  • 8
  • 39
  • 63
  • 1
    Have a look [here](http://stackoverflow.com/a/18301856/2591002) and [here](http://stackoverflow.com/a/15705407/2591002). Might help you.. – SweetWisher ツ Nov 14 '13 at 05:31
  • download build tools of Api 19 and you will get the solution – Pankaj Arora Nov 14 '13 at 05:32
  • 2
    You have add same Jar files twise. Go to Properties-->Build Path-->Libraries--> remove extra added library, just keep the latest one. thn go Order and Export chk all chk boxes. – Mit Bhatt Nov 14 '13 at 05:39

2 Answers2

16

Check Whether You added Same jar files more than once.

If yes,Remove any one of them from libs folder and clean your project.

KP_
  • 1,854
  • 25
  • 43
0

Check if Your Proguard is running or not.

Deepika Lalra
  • 1,035
  • 1
  • 10
  • 24