Android – Can’t import projects into Eclipse workspace

androideclipseimport

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.

Best Answer

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.