Conversion to Dalvik format failed: Unable to execute dex:, dalvikdex

Source: Internet
Author: User

Conversion to Dalvik format failed: Unable to execute dex:, dalvikdex

This error is caused by the addition of unnecessary core library or repeated addition of the same library jar package. (There are related jar packages under lib in the project, and external libraries are introduced)

Delete the reference to the library, Clean the project, re-run one project, and OK.


I have also tried it before. I added more Android. jar and reported an error. just remove the unused package. I have made android. jar a User Library separately, and used add extenerl jar.

So it is wrong. If you delete the redundant android. jar file, it will be OK.


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.