java的缺少必需的源文件夹:“根”源文件、java

由网友(二手情话)分享简介:我只是重新格式化我的电脑。我有Windows XP SP3 32位。我安装java JDKAndroid SDK中Eclipse IDE的I just reformatted my computer. I have windows xp sp3 32 bit.I install java jdkandroi...

我只是重新格式化我的电脑。我有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.

阅读全文

相关推荐

最新文章