I updated my SDK version via eclipse, after that i did a project clean. Now every R.java class of all my projects is gone.
Hints like "some .xmls are wrong" doesn'T work, because i didnt change anything in the .xmls..
I updated my SDK version via eclipse, after that i did a project clean. Now every R.java class of all my projects is gone.
Hints like "some .xmls are wrong" doesn'T work, because i didnt change anything in the .xmls..
What I did was go to Project --> Build Project
That worked once. The second time it didn't. The second time, I did this:
File --> Import...
and import the project that didn't have the R.java
file.R.java
file for you. So either use this workspace, or copy and paste this R.java
file into your old workspace that didn't have it. Save everything and possibly restart Eclipse. It will work (even though it showed errors for a few minutes for me, they went away).If you have updated the adt to 22, then there is a common problem if you are using any external library.
In ADT 22 by default external libraries are unchecked.
Please right click on project > properties > android > java build path > order and export > check Android private libraries