导入现有的Andr​​oid项目在Eclipse中项目、Andr、oid、Eclipse

2023-09-05 10:21:08 作者:患得患失

我收到来自Eclipse的一个错误,当我尝试导入现有的Andr​​oid项目。

I'm getting an error from Eclipse when I try importing an existing Android project.

Android的需要编译器遵从性级别5.0或6.0。发现'1.4'代替。请使用Android的工具>修复项目属性。

Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties.

我没有固定的属性和设置编译器级1.6为好。但我仍然得到同样的错误。现在我该怎么办?

I did fix the properties and set the compiler level to 1.6 as well. But I'm still getting the same error. Now what should I do?

推荐答案

尝试以下步骤。我能得到它今天使用的Eclipse工作靛蓝

Try with the following steps. I was able to get it to work today using Eclipse Indigo

创建新的工作空间 - >打开SDK管理器 - >更新了SDK - >重启日食 - >导入项目到这个工作区 - >右键单击项目 - > Android的工具 - >修复项目属性 - >重新启动Eclipse

Create New Workspace -> Open SDK Manager -> Update the SDK -> restart the eclipse -> Import the project to this workspace -> right click on Project -> Android Tools -> Fix Project properties -> restart Eclipse