I moved my project on Eclipse by Right Click project > Refactor > Move. This caused (at first) an exclamation mark to show next to project name. So I restarted Eclipse. This rem
Are you creating Project name folder to another workspace on move??
Check if you are importing android.R
instead of your generated R
class.
From Using Eclipse:
Note: Eclipse sometimes likes to add an import android.R statement at the top of your files that use resources, especially when you ask eclipse to sort or otherwise manage imports. This will cause your make to break. Look out for these erroneous import statements and delete them.
In the other hand, check if you have any errors in a xml file (but it shouldn´t allow you to generate the R.java
file)