java的缺少必需的源文件夹:“根” [英] java missing required source folder: 'gen'

查看:498
本文介绍了java的缺少必需的源文件夹:“根”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是重新格式化我的电脑。我有Windows XP SP3 32位。 我安装java JDK Android SDK中 Eclipse IDE的

I just reformatted my computer. I have windows xp sp3 32 bit. I install java jdk android sdk eclipse ide

当我去创建一个新的Andr​​oid项目我得到这个错误。

When I go to make a new android project i get this error.

项目HelloAndroid2缺少必需的源文件夹:根

Project 'HelloAndroid2' is missing required source folder: 'gen'

请帮助我是新来的日食所以给详细答​​复。

Please help i'm new to eclipse so give detail responses.

推荐答案

我刚当我试图导入最初是用版本,不再是我的机器上安装SDK创建一个项目这个问题。

I just got this problem when I was trying to import a project that was originally created with a version of the SDK that is no longer installed on my machine.

右键单击项目。选择属性。进入到Android。选择一个项目构建目标。单击确定。您可能需要清理和重建项目也是如此。

Right click the project. Select Properties. Go to Android. Select a Project Build Target. Click Ok. You might have to clean and rebuild the project as well.

这篇关于java的缺少必需的源文件夹:“根”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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