When we import the project directly, because some GIT projects do not have. Project and. classpath files, it is definitely not possible to import items directly.
Here's the solution:
1. New Android project inside change an option Create project from existing code
(New->project->android/android project from Existing code). Using this option will generate the project based on the original codes.
2. Create a new Android project and copy other projects . Project and. Classpath to the project to be introduced.
1). project file only needs to be modified <name> your project name </name> this project name can be
2). The. classpath file is usually not changed and reads as follows:
<?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= "Output" path= "Bin"/>
</classpath>
kind= "... "refers to the type of this directory in project. Kind= "src" is the source file directory,The files in this directory will be compiled by the compiler. kind= "Output" is a Java file compilation outputdirectory, the files under the SRC directory will be compiled into this directory.
< Span style= "FONT-FAMILY:HELVETICA,TAHOMA,ARIAL,SANS-SERIF; line-height:25.1875px "> If you have any questions, please leave a message, reproduced the source.