Saturday, April 5, 2014

Import/Open existing android app project in Eclipse

Most of the time when we try to import/open a downloaded eclipse project, we get the error message “… overlaps the location of another project ..”

Eclipse is showing an error message because you are trying to create a new project on a existing directory that already contains a project. Eclipse is trying to save you from losing work.!!
  
Incorrect steps to import existing Eclipse project:
1)      Extract downloaded SimpleCalendarApp.zip in E:\workspace-adt
2)      Extracted zip creates a folder E:\workspace-adt\SimpleCalendarApp
3)      Launch Eclipse
4)      File --> import --> Android “existing android code into workspace”
5)      Root directory : select E:\workspace-adt
6)      Select project “SimpleCalendarApp”
7)      Click Finish
8)      Displays error message “… overlaps the location of another project ..”





 Eclipse is showing an error message because you are trying to create a new project on a existing directory that already contains a project. Eclipse is trying to save you from losing work J.


Correct Steps to import existing Eclipse project:
1)      Extract downloaded zip in c:\temp
2)      Extracted zip creates a folder c:\temp\SimpleCalendarApp
3)      Launch Eclipse
4)      File --> import --> Android “existing android code into workspace”
5)      Root directory : select c:\temp
6)      Select project “SimpleCalendarApp”
7)      The project is created in Eclipse.


No comments: