Yes, I have the same question. I find that IDEA frequently forgets to generate the android "R" file, even though I have the preference set in the module settings on build. When I try to do a build, I often get a compile error that the R file is missing. Nothing works to fix it except restarting IDEA and doing a new clean build.
Yes, I have the same question. I find that IDEA frequently forgets to generate the android "R" file, even though I have the preference set in the module settings on build. When I try to do a build, I often get a compile error that the R file is missing. Nothing works to fix it except restarting IDEA and doing a new clean build.
One easy way I found in IDEA10:
Right click and select "Force regenerate R.Java". :)
Uhhhh. Thank you for that. :) My right-click context menu has gotten so large that I somehow missed that. Thanks again.