Reputation: 1
Every time I try to add a button, add an image view, edit a button, pretty much do anything, my R.java disappears and the only way I can fix the problem is by starting again
I have read evey single post on this and tried every single suggestion but nothing seems to work. Can someone please help me as this is insane?. I'm sure there must be something I need to change as I'm pretty sure this can't be happening to all android developers every 10 minutes.
Upvotes: 0
Views: 82
Reputation: 534
Are you using your build over "Build automatically" ? Any changes of your code, after autosave your project is build again and the R-File is generated.
Upvotes: 0
Reputation: 355
For me the best trick is to clean the project:
At Eclipse: Project -> Clean -> Select project and than OK.
Upvotes: 2