如何将现有的 Android 项目导入 Eclipse? [英] How to import existing Android project into Eclipse?
问题描述
我正在尝试将现有的 Android 项目导入我当前的 Eclipse 工作区.我选择 File->New->Android Project,这会打开 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.
这篇关于如何将现有的 Android 项目导入 Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!