如何导入现有的Andr​​oid项目到Eclipse?项目、Andr、oid、Eclipse

2023-09-11 11:13:59 作者:想活就好好活,不想趁早

我试图导入现有的Andr​​oid项目到我目前的Eclipse工作区。我选择File->新建 - > Android项目,这带来了Android项目的对话框,我再选择,创建从现有的源项目,位置,建立目标和完成。

I'm trying to import and existing Android project into my current Eclipse workspace. I select File->New->Android Project, which brings up the Android project dialog, I then select, "Create project from existing source", Location, Build Target and Finish.

我收到以下错误:无效的项目说明。

I get the following error: Invalid project description.

有谁知道如何让过去的这个错误?

Does anybody know how to get past this error?

推荐答案

解决:如果要创建从现有的源项目,你需要创建一个新的目录,然后把项目的目录树到新目录中。然后,导入时指向新的目录。

Solved: If you want to "Create project from existing source", you need to create a new directory and then put the project directory tree into that new directory. Then point to the new directory when importing.