When importing, select a project that already exists, and if you choose a file system, you may be prompted that no items can be imported.
At this point, you can copy a. project file from another Eclipse project and modify the project name in the source file.
You can also copy a. classpath file if you need to.
. project file Structure
<projectdescription><name>soundrecorder</name><comment></comment><projects ></projects></projectDescription>
. classpath File Structure
<?xml version= "1.0" encoding= "UTF-8"? ><classpath><classpathentry kind= "src" path= "src"/>< Classpathentry kind= "src" path= "gen"/><classpathentry kind= "con" path= "com.android.ide.eclipse.adt.ANDROID_ FRAMEWORK "/><classpathentry kind=" con "path=" Com.android.ide.eclipse.adt.LIBRARIES "/><classpathentry kind= "Output" path= "Bin/classes"/></classpath>
It is important to note that
1. If you want to import Android project, then source. classpath files, preferably Android, otherwise imported items,
Either "Android Engineering" or the lack of an Android library is not a good solution.
2. It is best to copy a. classpath file before importing it.
If it is imported first, then copy, there is likely to be a problem.
You can restart eclipse at this time, but it's not necessary to close the project and then reopen it.
Because. Classpath is with the project, and the project is only part of the work space.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
How does Eclipse import file system-like projects directly into the project?