Eclipse的Andr​​oid的根已经存在,但不是一个源文件夹 [英] Eclipse Android gen already exists but is not a source folder

查看:144
本文介绍了Eclipse的Andr​​oid的根已经存在,但不是一个源文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试加载在Eclipse中的Andr​​oid项目被就好了上周的工作我收到以下错误。 任何想法?

I am getting the following errors when I try to load an Android project in Eclipse that was working just fine last week. Any ideas?

[2012-03-16 09:29:43 - MyProject] /MyProjectName/gen already exists but is not a source folder. Convert to a source folder or rename it

注意我试图清理项目几倍,甚至重新启动,但它仍然给了我这样的错误。

Note that I have tried to clean the project several times, even restarted but it still gives me this errors.

推荐答案

右键单击项目并转到项目属性,然后转到 Java构建路径,然后在设置页,点击添加文件夹按钮并添加文件夹。 刚的src 文件夹应该进行检查,如果您还有不属于任何库项目连​​接。

right click on project and go to project properties, then goto java build path, and then in source tab, click on add folder button and add gen folder. just src and gen folders should be checked there if you haven't any library projects attached.

这篇关于Eclipse的Andr​​oid的根已经存在,但不是一个源文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆