I have faced case where R file not generated automatically. However, this time is quite weird.
I have checked under res
folder, there is no wrong in naming convention and there is no error under that folder.
I build the project min 9 and targetSDKVersion 21, and build target 21 too and I have updated Eclipse and also Android SDK Tools. What else do I need to check? I can't find the cause of error at all.