如何导入现有的Andr​​oid项目到Eclipse? [英] How to import existing Android project into Eclipse?

查看:160
本文介绍了如何导入现有的Andr​​oid项目到Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图导入现有的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.

这篇关于如何导入现有的Andr​​oid项目到Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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