I am making an app in which I set an image as the background but when I set this image as the background the R.java file disappears and I get the “R cannot be resolve to a variable error“
EDIT:None of the usual “R cannot be resolved to a variable” solutions did not work
Any solutions?
This problem mostly appear due to due to build path errors, to check problems see Eclipse Menu-> Windows -? Show View-> Error Logs and Eclipse Menu-> Windows -? Show View->Problems. and According the problem listed resolve the error, and then try to compile the project.