码迷,mamicode.com
首页 > 其他好文 > 详细

Gen already exists but is not a source folder

时间:2014-07-09 19:29:27      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:android   java   for   io   div   app   

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", click "OK", Click "YES",and click "OK"
6. Right click project, select "Android Tools"-->"Fix Project Properties"

Workaround-2:
This error‘s root cause is classpath issue,and look likes following format.
-----------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
-----------------------------------------------
You can modify this file‘s following tags:
------------------------------

kind="src"
kind="con"
kind="lib"
kind="output"
-------------------------------------------------

Gen already exists but is not a source folder,布布扣,bubuko.com

Gen already exists but is not a source folder

标签:android   java   for   io   div   app   

原文地址:http://www.cnblogs.com/lzhairs/p/3831571.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!