Dx no classfiles Converted to Dalvik format with error 1

I know this is a topic related to death, and I probably shouldn't repeat it, but it is very annoying because I tried all the methods described above to solve the problem and it still gives me an error.

I tried to clean the project, it didn’t work, I tried to restart eclipse with the -clean option, it didn’t work, I tried to reinstall the eclipse - it doesn’t work, I tried to add a dummy link and delete it, it doesn’t work

Every time I do a clean and R.Java disappears, I get an error message that does not have the cool file found in gen / R.java, after which it automatically appears and I get a conversion error.

I'm trying to fix something else that bothers me, and this error is just nervous because nothing works.

Does anyone have any alternative suggestions?

Is it possible to simply compile it as a regular java program and press it with adb.exe at the command line?

+3
source share
2 answers

I had the same problem. Correction: go to the project properties → Android → Change the target to Android 2.2 (or older). Click "Apply" and try to start it again.

+1
source

I also had the same problem. What I did was to clear the project and then use the option: Android tools → fix project properties. This made my problem go away.

0
source

Source: https://habr.com/ru/post/1796746/


All Articles