My system crashed and I had to re-install all my software. Now only like,..... half my android projects will build. It seems like the R class is not being built. I had this is
There are two main reasons for this. Either your import statement for importing R or there is an error in an XML file. At the top if your class, make sure your doing the following:
import your.pacakge.R; //make sure its not import android.R;
If that doesn't work, check the XML file you're working. Make sure it has no errors (open tags, misspelled tags, etc..)