Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dx no classfiles specified Conversion to Dalvik format failed with error 1

I know this is a done to death topic, and I probably shouldn't be repeating it, but it is extremely annoying, because I've tried all the methods outlined before to resolve it and it still gives me an error.

I tried to clean the project, doesn't work Tried to restart eclipse with -clean option, doesn't work Tried to resintall eclipse - doesn't work Tried to add a dummy reference and delete it, doesn't work

Everytime I do a clean and R.Java disappears I get an error saying no classfile found in gen/R.java then it automatically reappears and I get a conversion error.

I'm trying to fix something else which is troubling me and this error is just getting on my nerves because nothing I do works.

Does anyone have any alternate suggestions?

Can I just compile it like a normal java program and push it using adb.exe in the command prompt?

like image 686
Imelza Avatar asked Dec 14 '25 14:12

Imelza


1 Answers

I had the same problem. The fix: Go to project properties -> Android -> Change target to Android 2.2 (or older). Click apply and try to launch it again.

like image 94
Dmitry Avatar answered Dec 16 '25 07:12

Dmitry



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!