Conversion to Dalvik format failed:unable to execute DEX:GC overhead limit exceeded exception resolution

Source: Internet
Author: User
Tags gc overhead limit exceeded


At the time of running the project, Eclipse stayed at 100% for a long time. Last Error

Unable to execute DEX:GC overhead limit exceeded
Conversion to Dalvik format failed:unable to execute DEX:GC overhead limit exceeded

solution : Set XMS to 512 and 1024 in the Eclipse directory in the Eclipse.ini file to change

Openfile--launcher.xxmaxpermsize512m-showsplashorg.eclipse.platform--launcher.xxmaxpermsize512m--launcher.defaultactionop enfile-vmargs-dosgi.requiredjavaversion=1.5-xms512m-xmx1024m

If it's still not working,solutions on the Web

Recently vendor adaptation, the vendor has provided a part of the framework of the jar package, the jar package through the Add jar into the build path, during the generation of the APK process, eclipse for a long time to stay at 100% that progress. Add the vendor's jar to the user library and select the As System library and introduce the project: Create user Library:windows->preference->java->build Path ->user Library, New and add Jars add User Library to project: Project->properties->java Build Path->libraries->a DD Library->user Library Build is running normally.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Conversion to Dalvik format failed:unable to execute DEX:GC overhead limit exceeded exception resolution

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.