Android project remarks cannot be imported

Source: Internet
Author: User

If the "No projects are found to import" prompt appears when you import the project, first check whether there are hidden files in the project directory. project, directory structure, and a hidden file. classpath, if there is no solution.
 
Method 1: the most direct operation is to copy the. project and. classpath files of other projects, and modify the corresponding location.
1) in the project file, you only need to modify the project name <name> AboxTVExchange </name>.
2). You do not need to change the classpath file. The content is 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 = "..." indicates the type of the directory in the project. Kind = "src" is the source file directory,
The files in this directory will be compiled by the compiler. kind = "output" is the java file compilation output.
Directory. files under the src directory are compiled to this directory.
 
This file is automatically modified when you modify project Properties> java build path.
 
Method 2: Move the source code package to a non-workspace directory and choose new> android project> create project from exist source.
 
Add a write project name.
Note that the following error message is displayed if you do not move to a non-workspace directory:
 
Invalid project description
------> Detail:->>> xxxx (project path) overlaps the location of another project: 'xxxx'
When creating a project, the eclipse plug-in needs to create a directory with the same name under the workspace directory.
However, if the corresponding directory already exists in the workspace directory, the error message above will be reported.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.