Solution to the "conversion to Dalvik format failed with error 1" error when using proguard

Source: Internet
Author: User

Proguard is android Code Obfuscation tool, Program It is very useful for staff to protect their own labor results, which are already included in Android SDK 2.3. The error "conversion to Dalvik format failed with error 1" is reported when proguard is configured to use export Android Application. Someone on the Internet introduced the two methods of downgrading the SDK to R11 and modifying proguard. bat, but the most thorough method is to include proguard in Android SDK 2.3.
Upgrade v4.4 to v4.6 to completely solve this problem.

Solution: download from here
The latest version of proguard. I downloaded v4.6. decompress the proguard4.6.zip file and overwrite the bin and Lib folders in the [Android SDK installation directory] \ tools \ proguard folder with the same name

Go back to eclipse and re-execute the export Android Application to check whether the application is successful.

If it cannot be used properly after the update, restart eclipse and update the ADT.

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.