Tuesday, August 24, 2010

Android in Eclipse

Finally, I found the fix for the annoying error after configuring eclipse for Android!
The annoying error is :

1. Project " xxx " is missing required source folder: 'gen'

2. The project could not be built until build path errors are resolved.

I tried deleting the gen folder and rebuilding the project again. That solved the problem but I didn't want to do the same thing every time whenever I create a new project.

So I kept searching for a better solution and I came across a blog giving the best solution and makes perfect sense.

Here's the solution to get rid of the annoying build error:
Use Project > Properties > Java Compiler > JDK Compliance > Compiler compliance level: 1.6

Thanks to Christian for the answer and thanks to Joshua for providing the post.

www.joshuakerr.com