I have added a resource but it is not there in R.java

satya - Monday, August 15, 2011 1:53:35 PM

Symptom

I keep changing the layout files with new controls. However the new ids in the layout file are not showing up in R.java

I have changed the minsdk version but the apk file when deployed from the eclipse says it needs a higher sdk.

satya - Monday, August 15, 2011 1:54:50 PM

Cause

In my case while debugging something else i have turned off automatic compiles. And I forgot about that. So if I do a clean it works. It took me a couple of manual cleans to realize I need to turn on the auto compile.

satya - Monday, August 15, 2011 1:55:28 PM

How to turn on auto compile


eclipse main menu
project
Build automatically