Possible duplicate:
R cannot be resolved - Android error
I canβt create a new project for Android, either on Windows or on Ubuntu! I have versions 2.3.3 and 2.2 and 4.0 of android sdk and I want to create a new project using version 2.3.3. But after creating the project, he says that R cannot be resolved by a variable .
I read all the questions related to this topic, and I made all the proposed solutions, but none of them worked for me. ("Clean project", check the Android version in the "Build Path" menu, check the xml files, lowercase xml file names, etc.)
Since I use an empty project, this is not due to incorrect xml files or some errors in java codes (since God makes his empty project !! how can it be broken?)
I do not know what to do. We appreciate any suggestions.
source share