When I try to run a java project, a message appears after it finishes to run:
R cannot be resolved to a variable
I tried to clean the project and rebuild it but the error still remains.
When I try to run a java project, a message appears after it finishes to run:
R cannot be resolved to a variable
I tried to clean the project and rebuild it but the error still remains.
Check your xml files. you have an error somewhere in one of them. fix it then clean/build project.
In Android project the R class should be automatically generated after clean buid if your configuration is right.