I’ve been playing around with Android now and so far it’s been a good experience save one really annoying thing.
Project ‘Project Name’ is missing required source folder: ‘gen’
Seriously?! I mean come on, the folder is in the project for crying out loud! Sadly I’m not the only one who has been plagued by this error. Many Google searches later and still no hard-fast answer that. I have found one thing that seems to help although it’s a pain to keep doing it over and over again….
- Delete the R.java file under the gen folder
- Refresh the project
- Build Project, not Clean
This, so far, seems to be the only way to consistently get rid of the missing gen folder message….
It seems I’m getting more and more traffic to this post. Christian provided the correct fix below on how to resolve the missing GEN folder in the comments below. Set the Java version of the project to 1.6 and you’ll be troubled no more. Thanks Christian.