异常提示: gen already exists but is not a source folder. Convert to a source folder or rename it. 错误原因: 我在导入以前的项目的时候出现了这个异常,原因是.classpath文件(这个文件在eclipse中是看不到的,必须在文件浏览器中才能看到并编辑)出错,导致eclipse不能识别我的src代码文件夹,需要通过设置来指明源码所在的文件夹. 解决办法: 右键项目,选择Properties——Jav…
Right click on the project and go to "Properties" Select "Java Build Path" on the left Open "Source" tab Click "Add Folder..." Check "gen" folder and click Ok http://stackoverflow.com/questions/6185600/and…
1. Right click on the project and go to "Properties" //鼠标右键点击项目,然后选中Properties 2. Select "Java Build Path" on the left //选择java Build Path 3. Open "Source" tab // 打开源文件的tab栏 4. Click "Add Folder..." //点击添加文件夹 …
在Eclipse ADT来开发Android App时会遇到以下问题:"myproject/gen already exists but is not a source folder. Convert to a source folder or rename it" 解决办法是: 1.Right click on the project and go to "Properties" 2.Select "Java Build Path" on th…
遇到android项目导入出现后重复空包等错误,往往是导入的java编译级别有关,点击项目properties-> java Compiler ->修改Compiler compliance level 一般是1.6. 修改完成clean项目之后,往往还会遇到: gen already exists but is not a source folder. Convert to a source folder or rename it的错误. 遇到这个问题的解决方法: 1. 右键点击工程,选择…