My Android project just started saying all my R.blah.blah references are errors. Cleaning/re-generating the R.java file has not fixed it. Nor has closing/reopening the project/eclipse. I undid any changes to xml files that could have caused it. This is only occurring in ONE of my activities, all other activities do not have any errors related to R.blah.
Note: R.java does have all the correct references in the file.
check if
import android.R;
is in your classes and remove it then try
If you copy code from other project you get some,lines like
import android.R.com.example.view.Widget
import android.R.com.hardware.Camera
Remove those lines and run it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With