Unable to execute DEX: Multiple Dex files define

Source: Internet
Author: User
Method 1: eclipse-> Project-> remove build automatically-> clear-> build project-> build automatically, disable eclipse, and enable Method 2: update the ADT plug-in, delete. metadata directory method 3: A folder under your project has a suffix *. delete the APK file and restart eclipse. Method 4: The cause is repeated. Jar is referenced. You can view your build path. In particular, Android dependencies must have repeatedly introduced. Jar packages. The solution is to delete duplicate jar files in libs. Method 5: In the project, the package name of a class is the same as the class in the referenced jar package. I use the class in the jar package, therefore, this class in the project is referenced repeatedly. After the class that is referenced repeatedly in the project is deleted, it is packaged and started.
The above is the searched method!
Solution (method 4 ): Java build path --> libraries --> Android private libraries, the android-support-support-v4.jar is repeated, delete it.

Unable to execute DEX: Multiple Dex files define

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.