How to open existing project in Eclipse

AndroidEclipse

Android Problem Overview


I kind of feel stupid, but I just can't get it to work....

I have an existing Android project copied from my other pc, in the folder

c:\projects\trunk\android\emergency

(I created that project on the other pc, copied it to my new pc and the other pc is given away) Now I want to open the project in Eclipse. So I THINK I tried everything, but I can't seem to get it to work...

I looked for something like 'open project', but didn't find it.

Then I tried 'import', but that wouldn't let me import it because it was the same workspace (I use the same filelocations and workspace location as on the other pc)

Then i tried creating a new workspace and import it there. Then it complained about have no project, that i first had to create one. So i did create a dummy one in the new workspace, imported the project, and it copied everything to the new workspace, and placed it below the dummy project.

I am SO stuck, can you help me?

Btw, this is the Eclipse i'm using: Eclipse SDK Version: 4.2.0 Build id: I20120608-1400

Android Solutions


Solution 1 - Android

Try File > New > Project... > Android Project From Existing Code. Don't copy your project from pc into workspace, copy it elsewhere and let the eclipse copy it into workspace by menu commands above and checking copy in existing workspace.

Solution 2 - Android

It's the "Import existing project into workspace" option under Import->General.

See: http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-importproject.htm

Solution 3 - Android

Window->Show View->Navigator, should pop up the navigator panel on the left hand side, showing the projects list.

It's probably already open in the workspace, but you may have closed the navigator panel, so it looks like you don't have the project open.

Eclipse using ADT Build v22.0.0-675183 on Linux.

Solution 4 - Android

File > Import > General > Existing Projects into workspace. Select the root folder that has your project(s). It lists all the projects available in the selected folder. Select the ones you would like to import and click Finish. This should work just fine.

Solution 5 - Android

i use Mac and i deleted ADT bundle source. faced the same error so i went to project > clean and adb ran normally.

Solution 6 - Android

Right click in navigator-Import-existing project..-select the base directory of your project

Solution 7 - Android

Assume that the application folder is in your pen drive.

open eclipse, go to import,select Android,In Android select "existing android code into workspace"

next and finish.

Ramanand Bhat

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionMichelView Question on Stackoverflow
Solution 1 - AndroidbiegleuxView Answer on Stackoverflow
Solution 2 - AndroidLanaruView Answer on Stackoverflow
Solution 3 - Androidtim doyleView Answer on Stackoverflow
Solution 4 - AndroidMemoryLeakView Answer on Stackoverflow
Solution 5 - AndroidRamin AhmadiView Answer on Stackoverflow
Solution 6 - AndroidVinay WView Answer on Stackoverflow
Solution 7 - AndroidRamanand BhatView Answer on Stackoverflow