gen already exists but is not a source folder:-
I get the same problem.
Two actions, first:
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..." and check "gen" and "src"
second: (because the previous action asked me to remove something... I do not remember what it was...)
1. Right click on the project and go to "Properties"
2. Select "Java Build Path" on the left
3. Open Libraries "tab"
4. Add an external JAR. Add the Google API that is in your android directory (android-sdk\platforms\android-yourversion
And now it works for me!
I get the same problem.
Two actions, first:
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..." and check "gen" and "src"
second: (because the previous action asked me to remove something... I do not remember what it was...)
1. Right click on the project and go to "Properties"
2. Select "Java Build Path" on the left
3. Open Libraries "tab"
4. Add an external JAR. Add the Google API that is in your android directory (android-sdk\platforms\android-yourversion
And now it works for me!