Reputation:
I am getting this weird error which keeps complaining about the dex files whenever i try to run the application in android studio. Does anyone knows what is it?
[2013-12-28 14:52:02 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
[2013-12-28 14:52:02 - TestApp] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
Upvotes: 2
Views: 4176
Reputation: 9152
The error is stating that it there are multiple copies of one of the v4 support library that you are using in your project. Go into the project structure -> modules and check in the target or the apk-libs folder if there are more than one copies. If there are more than one, exclude one of the library, do a clean and it should solve the problem
Upvotes: 8