I had to share this problem with you 'cause I lost an entirely morning around this. So what was my problem? Suddenly Eclipse refuses to generate R.java and create gen folder. I've tried all kind of solutions I came across in stackoverflow and some blogs:
Nothing worked... So, what was the solution? I'll answer myself.
Checking the SDK Manager worked for me. It seems Android Build Tools went missing :/
Strange behaviour from eclipse...
After installing it everything worked as expected. So here's another solution...
Hope it works for you,
Take care.