While building my android project,at the initial stage R.java file which is automatically generated was present.But gradually when I went on building my application,it suddenly disappeared.What might be the reason for this?
While building my android project,at the initial stage R.java file which is automatically generated
Share
It can happen because of errors in resources. Usually the reason is malformed nine-patch image, but the actual problem is displayed in the Error Log view.
EDIT: According to your comment the problem is that injectron.xml file contains whitespace in its name. Just remove it and R.java will be regenerated again.