Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse - Import an existing project?

I have a project that I am trying to add to my workspace. But eclipse cannot detect a new project in the directory I am pointing to.

How can I let eclipse know that a specific directory contains a project?

My directory contains:

  • assets
  • libs
  • res
  • src
  • bin
  • gen
  • AndoridManijest.xml
  • proguard.cfg
  • project.properties
like image 374
aryaxt Avatar asked Dec 10 '11 19:12

aryaxt


People also ask

How do I import the same project twice in Eclipse?

Instead of importing the project, begin creating a new project with a different name. Then change the location of the project to your new existing project. Eclipse will then let you create the project using the existing directory and content. In my opinion this is the only answer that directly addresses the question.


2 Answers

You just have to do a Import->Existing Project into Workspace, and then browse to the location where the .classpath and .project files exists for your project.

like image 137
FUD Avatar answered Sep 22 '22 15:09

FUD


For the new versions of Eclipse, it is File > Import > General > Existing projects into workspace

like image 22
Nav Avatar answered Sep 24 '22 15:09

Nav