gen already exists but is not a source folder. Convert to a source folder or rename it.

If anyone is getting this error in eclipse

gen already exists but is not a source folder. Convert to a source folder or rename it.

Here is how to fix it.

  1. Right click on the project and go to “Properties”
  2. Select “Java Build Path” on the left
  3. Open “Source” tab
  4. Click “Add Folder…”
  5. Check “gen” folder and click Ok and Ok again
  6. Again right click on the project and in the “Andriod Tools” click on “Fix Project Properties”
Advertisements

2 Responses to gen already exists but is not a source folder. Convert to a source folder or rename it.

  1. vlganesh says:

    Hi ,thanks

  2. Bilbo Baggins says:

    Thanks!!! So GLAD you posted this!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: