I created a new xml file and was weird? in it, which did not allow R. Java to be reborn. I tried to clean the project and fix the project properties, but no luck.
Then I realized that XML created R.java from recreation, so I deleted the XML file and returned R.java.
Now, despite the fact that I get an error message in all calls to R .. calls saying that:
- cannot be allowed or is not a field
So for example, I
setContentView(R.layout.detectlayout);
ERROR: detectlayout cannot be resolved or is not a field
for all my calls to "R.". Any ideas?
I tried all the suggestions for SO already with no luck = /
source share