无法将项目导入到Eclipse工作区 [英] Can't import projects into Eclipse workspace

查看:821
本文介绍了无法将项目导入到Eclipse工作区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我在Windows中一直使用eclipse多年。我有一些我最近一直在努力的android项目。但是我被困在这么奇怪的东西上。



问题是我现在在Windows和Linux上都使用eclipse。 (是的,我觉得linux更好,更快)。我想将我在Windows上使用的所有项目都转移到Linux Eclipse工作区(是的,我创建了另一个工作区,因为我不知道我是否可以在两个版本viz linux和windows eclipse中的相​​同工作区上工作)。现在,奇怪的是我无法将项目导入我的其他工作空间!这让我很疯狂。



我去我的Linux Eclipse工作区 - >导入 - >添加现有的android proj - >浏览 - >我的Android项目的根目录 - >(Ecipse在下面的框架中显示项目 - >我点击完成 - > NOTHING 只需坐在那里等待,没有任何反应,我在stackoverflow中搜索过,但没有一个问题类似于这个。



是的,我可以访问工作区文件夹,是的,我可以创建文件夹等。



请问有人可以告诉我如何导入正在检测但未导入的项目?



谢谢。

解决方案

我通过以下方式导入项目来解决这个问题:



文件>导入> Android>现有的Android代码进入工作区



点击下一步,然后浏览...



选择您的项目根目录,然后选中复制项目到工作区。点击完成



希望会帮助你。


So, I have been using eclipse in Windows for years. I have a few android projects that I have been working on lately. But I'm getting stuck on something so weird.

The problem is I'm using eclipse on both windows and Linux now. (Yeah i feel linux is better and much faster). I want to get all my projects that I was using on Windows into Linux Eclipse workspace (Yes I created another workspace because I didnt know if I could work on same workspace in both versions viz linux and windows eclipse). Now, the weird part is I CANNOT IMPORT THOSE PROJECTS INTO MY OTHER WORKSPACE! This is driving me crazy.

I go to my Linux Eclipse workspace -> Import -> Add existing android proj -> browse -> Root dir of my android project -> (Ecipse does show the projects on the frame below -> I click finish -> NOTHING. I just sit there, waiting, and nothing happens. I have searched around here in stackoverflow, but none of the problems resembles this.

Yes I have access to the workspace folder, yes I can create folders, etc etc.

Please can someone tell me how I can import projects that are being detected but NOT imported?

thanks.

解决方案

I solved this by importing the project in the following manner:

File > Import > Android > Existing Android Code Into Workspace

Click Next, then Browse...

Select your project root directory, and check the box for Copy projects into workspace. Click Finish.

Hope it will help you.

这篇关于无法将项目导入到Eclipse工作区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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