My android project shows error on the root folder(red cross on the application root folder)although any class or resource file inside the root folder does not show any error.
A:
Click on the project, Go to the Project -> Clean.. on the toolbar. If you really don't have any errors, that should fix the proyect.
Cristian
2010-07-02 12:44:12
+3
A:
I've had this problem before and there have been a couple of different things that you can do to try and resolve it.
Right click on your project in the Package Explorer and go Source > Clean Up...
In the 'gen' directory find the R.java file and delete it. Then open up one of your project's XML files (could be layout, values, it doesn't matter), make a quick change and then save it. This will rebuild R.java to the state it was in before you deleted it, hopefully getting rid of your error.
greenie
2010-07-02 12:44:38