Conversion to Dalvik format failed with error 1 Solution

Source: Internet
Author: User

Edit the. classpath file,

This file may contain this item: <classpathentry kind = "lib" Path = "Your specified High Version address. Jar">, changed

<Classpathentry kind = "con" Path = "com. Android. Ide. Eclipse. ADT. android_framework"/>

You can,Clean or restart eclipse

 

However, if. <classpathentry exported = "true" kind = "con" Path = "com. android. IDE. eclipse. ADT. libraries "/>, you only need to delete<Classpathentry kind = "lib" Path = "Your specified High Version address. Jar"
> You can,Clean or restart eclipse

 

If an error is reported later, "gen already exists but is not a source folder. convert to a source folder or Ren", solution:

  1. Right-click the project and choose Properties"
  2. Select "Java build path" on the left"
  3. Open the "Source" tab
  4. Click "add folder ..."
  5. Select the "gen" folder, click OK, click yes, and then click OK.
  6. LastRight-click the project and choose"Fix Project Properties" in "andriod Tools"

 

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.