"Conversion to Dalvik Format Failed With Error 1" on External Jar

Conversion to Dalvik format failed with error 1 on external JAR

I solved the problem.

This is a JAR file conflict.

It seems that I have two JAR files on my buildpath that include the same package and classes.

smack.jar and android_maps_lib-1.0.2

Deleting this package from one of the JAR files solved the problem.

Conversion to Dalvik format failed with error 1 on external JAR

I solved the problem.

This is a JAR file conflict.

It seems that I have two JAR files on my buildpath that include the same package and classes.

smack.jar and android_maps_lib-1.0.2

Deleting this package from one of the JAR files solved the problem.

Conversion to Dalvik format failed with error 1 - Exporting APK

Generally my experience with 'Conversion to Dalvik format failed with error 1' is that you need to do a project clean (if you use eclipse them from menu Project -> Clean ... ) this usually fixes the problem. Also right click on the project you want to export then Properties -> Android Tools -> Fix Project properties.

If this doesn't help you then with terminal go to the project path

cd /home/username/your_project_path

then

rm -fr bin/*

Note: you may need to restart eclipse or at least select the project and refresh it (F5).

Hope this will help you, if still doesn't , please let me know

Eclipse: Conversion to Dalvik format failed with error 1

This doesn't look like the issue with proguard, since it's not even enabled in your defaults.properties file. Try the following:

  1. Uncheck "Force error when external jars contain native libraries" option (just as you did)
  2. Select "Project -> Clean…" from the menu
  3. If that won't help ensure you have the correct R class imported. As stated at source.android.com:

    Eclipse sometimes likes to add an import android.R statement at the
    top of your files that use resources, especially when you ask eclipse
    to sort or otherwise manage imports. This will cause your make to
    break. Look out for these erroneous import statements and delete them.

UPDATE

Have a look also at this thread: "Conversion to Dalvik format failed with error 1" on external JAR.

Check the following answers (link will bring you directly to the answer):

  • michel's answer
  • user408841's answer
  • Mido's answer
  • Joe's Apps' answer

Conversion to Dalvik format failed with error 1 Solution?

Please see this thread "Conversion to Dalvik format failed with error 1" on external JAR

more information here: Reason of Conversion to dalvik format failed with error 1



Related Topics



Leave a reply



Submit