Eclipse --Type /com.xx.app/gen already exists but is not a source folde解决方案

两种解决方案:

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
现在基本都解决了.....

  

时间: 2024-08-05 12:41:35

Eclipse --Type /com.xx.app/gen already exists but is not a source folde解决方案的相关文章

Eclipse.Error.gen already exists but is not a source 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

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

异常提示: gen already exists but is not a source folder. Convert to a source folder or rename it. 错误原因: 我在导入以前的项目的时候出现了这个异常,原因是.classpath文件(这个文件在eclipse中是看不到的,必须在文件浏览器中才能看到并编辑)出错,导致eclipse不能识别我的src代码文件夹,需要通过设置来指明源码所在的文件夹. 解决办法: 右键项目,选择Properties--Java Bu

Gen already exists but is not a source folder

Error info:Gen already exists but is not a source folder. Workaround-1:1. Right click project, and select "Properties"2. Select "Java Build Path"3. Open "Source"4. Click "Add Folder..."5. Select "gen", cli

gen already exists but is not a source folder ZT

解决方法:1. 右键点击工程,选择 "Properties"2. 选择左边的 "Java Build Path" 3. 打开 "Source" 标签面板4. 点击 "Add Folder..."5. 勾选 "gen" 文件夹,点击OK,点击YES,再点击OK6. 最后右键点击工程,选择 "Andriod Tools" 里面的 "Fix Project Properties&qu

导入别人的Android项目,提示 /Libs/gen already exists but is not a source folder. Convert to a source folder or rename it

解决方法: 遇到这个问题的解决方法: 1. 右键点击工程,选择 "Properties" 2. 选择左边的 "Java Build Path" 3. 打开 "Source" 标签面板 4. 点击 "Add Folder..." 5. 勾选 "gen" 文件夹,点击OK,点击YES,再点击OK 6. 最后右键点击工程,选择 "Andriod Tools" 里面的 "Fix Pro

eclipse导入maven项目, A resource exists with a different case: '/xxx'.

eclipse 导入maven 项目出现 这是由于你的workspace里有相同的项目, 这时在metadata里可以看到所有的project信息 只需在eclipse的package explorer 视图给已经存在的项目rename就可以导入项目了 这时下面目录中项目名会跟着改变 eclipse导入maven项目, A resource exists with a different case: '/xxx'. 原文地址:https://www.cnblogs.com/moris5013/p

org.eclipse.core.internal.resources.ResourceException: A resource exists with a different case:

在使用Eclipse进行开发的时候,出现了如下的问题: Description Resource Path Location Type The project was not built due to "A resource exists with a different case: '/SeenTaoImp_zhV2/bin/seentao'.". Fix the problem, then try refreshing this project and building it si

用Eclipse运行Android版APP(PhoneGap)时出现:Unable to execute dex: Multiple dex files define

这两天遇到点小问题,做个记录: 症状:运行,调试时都报:Unable to execute dex: Multiple dex files define错误,发布后的APP安装到手机后一运行,就提示:“程序名 已停止”: 解决方法: 1.项目->properties->java build path->order and export ->去掉:android 4.3.1和android-support-v4.jar的选择: 2.项目->properties->java

Rejecting mapping update to [xxx] as the final mapping would have more than 1 type: [xxx, xx]

说明: 1.elasticsearch 版本 6.3.1 2.在同一个index下创建两个type时报错,信息如下: 在创建第二个type:solr时,先前已经在相同索引下创建了一个type:es [[email protected] ~]# curl -H "Content-Type: application/json" -XPOST 'localhost:9200/books/solr/1?pretty' -d '{"title":"Apache So