Android / FBReaderJ / gen already exists, but is not the source folder. Convert to or rename source folder

I downloaded the source of FBReaderJ , his words: " / FBReaderJ / gen already exists, but is not the source folder. Convert to the source folder or rename it "

I can not start it, why? I also can not remove the "gen".

+65
android
May 31 '11 at 9:31
source share
5 answers

Try it, it helped me:

  • Right click on the project and go to "Properties"
  • Select "Java Build Path" on the left.
  • Click the Source tab
  • Click "Add Folder ..."
  • Check the gen folder and click OK and OK again
  • Again, right-click on the project and in the "Android Tools" click "Fix project properties."
+213
Aug 24 2018-11-11T00:
source share

There are a few things that I can fix.

  • Delete gen folder
  • Use project> clean
  • Properties> android tools> Fix project properties
+9
May 31 '11 at 9:41 a.m.
source share

Try creating a new Android project in the Eclipse IDE, and then copy the hidden .classpath file from the new project to the existing one. Then you can delete the additional Android project.

Then follow the steps above. Delete the / gen folder and do a cleanup (Project -> Clean, Android Tools -> Fix Project Properties).

The problem for me was that the downloaded .classpath was installed to host the .class source files in / gen, which should have had R.class files. Eclipse wanted the source .class files in / bin, which gives Eclipse the automatically generated .classpath. If you feel comfortable editing the .classpath yourself (this is not particularly difficult to read), you can make changes on the spot without worrying about creating a new Android project.

+1
Nov 21 '11 at 19:04
source share

Simple, this means that your project, not in the workspace, will import the project again.

+1
Jun 19 2018-12-12T00:
source share

Go to Project -> Properties -> Java Compiler. Select "Compilation Compiler" to level 1.6+. If you do not have higher versions of the compiler, you can work on an old Java installation, update it

0
Mar 04 '13 at 9:52
source share



All Articles