Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between Eclipse "Import" and "Create project from existing source" for Android projects?

I know there are two ways to import the existing Android projects into Eclipse. That is, "import" and "create project from existing source". But what are the differences between the two import methods? Can anyone explain in details?

like image 696
shihpeng Avatar asked May 27 '11 20:05

shihpeng


People also ask

How do I import multiple projects into Eclipse?

If all of your old projects exist in a single directory or in a single parent directory, you can do File -> Import... -> Existing Projects into workspace. Choose a root directory that is a parent all of the projects you want to import. You will then be able to import all of the projects at once.


2 Answers

Well, I guess it´s simple:

1) Import: Import an Eclipse-Project, with preferences and everything other

2) from existing source: Import project of another IDE like IntelliJ IDEA (or no IDE project at all = only plain sources). You gotta set new preferences like Build targets etc.

like image 190
stk Avatar answered Oct 12 '22 01:10

stk


I believe "import" requires a .project file, as in you are importing a pre-existing project, while "create project from existing source" will allow you to select pre-existing source files to generate a new project.

like image 40
Tyler Treat Avatar answered Oct 12 '22 00:10

Tyler Treat