I want to export an apk for the project but each time i export i got an error saying Conversion to Dalvik format failed with error 1. I faced this error before while working on same project and when i get it I go to the project folder and delete jars from folder classes inside folder bin but in Exporting APK It doesn't work Can anyone help me ?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With