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 particular directory contains a project?

My directory contains:

  • assets
  • Libs
  • Res
  • CSI
  • Ben
  • gene
  • AndoridManijest.xml
  • proguard.cfg
  • project.properties
+17
eclipse project
Dec 10 '11 at 19:52
source share
5 answers

You just need to do Import-> Existing Project in Workspace, and then go to the place where the .classpath and .project files exist for your project.

+13
Dec 10 '11 at 19:54
source share

For newer versions of Eclipse, this is File > Import > General > Existing projects into workspace

+8
04 Sep '13 at 5:23
source share

Like this

  Importing existing projects You can use the Import Wizard to command link import an existing project into workspace. From the main menu bar, select command link File > Import.... The Import wizard opens. Select General > Existing Project into Workspace and click Next. Choose either Select root directory or Select archive file and click the associated Browse to locate the directory or file containing the projects. Under Projects select the project or projects which you would like to import. Click Finish to start the import. 
+1
Dec 22 '14 at 3:58
source share

This is a solution for eclipse

I had a similar problem, when I cloned repositories from a bit bucket from the command line, it would clone to a local repository. So the above solution did not work, because it would say that the files are already in the local repository.

Decision:

 1. Window > Show View > other > Git repositories 2. Right Click on the git repository tab > import projects 3. navigate to the repository you want to put into eclipse 4. select the third option 'import as general project', if selecting this does not work then view other options and select the option that applies to you 5. finish 
0
May 02 '16 at 12:12
source share

if you cannot import a project, such as some solution above, you must create a new project called procject, with which query you want to import. Do not forget to place the import project in the workstation.

0
Jul 17 '16 at 5:20
source share



All Articles