Home » Android » android – How to open existing project in Eclipse

android – How to open existing project in Eclipse

Posted by: admin March 11, 2020 Leave a comment

Questions:

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

How to&Answers:

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.

Answer:

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

Answer:

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.

Answer:

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.

Answer:

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

Answer:

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

Answer:

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