I have a project i used that worked fine, then i replaced a java file(class) with file from some other java project(had extra code in it), and also the strings.xml and some of the layouts. and now this class dont recognise some of the new xml id's, even though i double-checked and everything seemed ok and hit "save" on each of the files. I tried to clean the project and it made the R.java file disappear for good. I checked the answers in:
But nothing helped me.
The XML files have no errors, and i didnt changed the manifest file. Only replaced a .java file and the layouts. What else can be the problem? It is the second time it happens to me while trying to "import" others files to my project.