如何正确导入Android项目到Eclipse? [英] How to import android project properly into Eclipse?
本文介绍了如何正确导入Android项目到Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试过很多答案存在,但不解决问题。
I tried many answers there but non solved the problem.
我有一个Android项目(可以将其命名为 T
),我使用Eclipse到其工作区文件夹中创建。
I have an android project (lets name it t
) that I created using the eclipse into its workspace folder.
我做了以下内容:
- 我复制
T
到另一个地方作为备份。 - 然后,我删除它从月食 - > R-点击在
T
和删除 李。 > - 当我检查了工作区,这是预期中删除。结果
以及 - 我复制备份到工作区。
- 我试图打开它在Eclipse上,但没有成功。
- 文件 - >导入 - > Android的 - >现有的Android code进入工作空间 - >下一步 - >浏览(在工作区本身的项目文件夹) - >完成(最后一步)
- I copied
t
into another place as a backup. - Then, I deleted it from eclipse -> R-click on
t
then delete. - When I checked the workspace, it was removed as expected.
Then. - I copied the backup into the workspace.
- I tried to open it on eclipse, but with no success.
- File -> Import -> Android -> Existing Android Code Into WorkSpace -> Next -> Browse (to the project folder in the workspace itself) -> Finish (Last step).
如何解决?
推荐答案
尝试在导入过程中离开工作区外的项目文件夹。
Try leaving the project folder outside of the workspace during the import.
当您重新导入项目中,检查项目复制文件到工作区对话框。
When you re-import the project, check the "copy project files into workspace" box.
在我的经验中,手动复制项目进入(或退出)工作区可能会很麻烦。
In my experience, manually copying projects into (or out of) the workspace can be troublesome.
这篇关于如何正确导入Android项目到Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文