Tag Archives: Google

Android and the Missing GEN Folder

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….

  1. Delete the R.java file under the gen folder
  2. Refresh the project
  3. Build Project, not Clean

This, so far, seems to be the only way to consistently get rid of the missing gen folder message….

Edit:

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.

Google Deskbar

I just downloaded the Google Deskbar and the development SDK. I’ve written the infamous “Hello World” and I’m planning on writing some more plug-ins here in the near future. The only thing that’s a little odd is how you load and unload the plug-ins. You load them by placing the dll in the plugin directory. Unloading is another story. You’re supposed to hit some key sequence to unload all plug-ins but as soon as you unload them, they are reloaded! Thus making it pretty difficult to update/test a plug-in. Maybe its just PEBCAK but then again, there’s not a lot of documentation about on the API….