The methods for viewing the eclipse import project circulating on the Internet are creating androidProgramYou can also use the "Create project form existing source" option to import data. However, the imported project is still in the original position, eclipse does not automatically copy the project to the workspace directory. If you copy the project to the workspace directory in advance and then import the project, an error is returned, indicating that a project with the same name already exists.
The correct import method should be to copy the project directory to the workspace directory and then perform the following operations:
Select existing projects into Workspace:
Browse and select the project directory:
Note: If you haven't copied the project to the workspace directory before, you can also use this option in this window to let eclipse help you copy the project to the Workspace:
Click Finish to complete the import. Of course, this method can be used for non-android Java projects.