Android is unable to import the downloaded project (which is the same as the project naming that already exists in Eclipse) workaround

Source: Internet
Author: User
Error message:

When we go to import projects that are downloaded from the network, the following problems often occur (the selected item is dimmed and you are prompted to select at least one item):

Cause of Error:

The main reason for this error is that your eclipse already exists with the same name as the new project named library (the items we download from the Web are mainactivity, main, and so on, and library projects are mostly named libraries , so this naming conflict often occurs).

This will cause you to not be able to import this new project.

Workaround:

The solution to this problem, of course, is to change the name of the project, but you will find that after you rename the project folder, it is possible that the import was unsuccessful, and prompted your new project name or library, what is the situation?

Later I found the original Android naming information in the Android project. Project, we just need to add the first child node under the <projectDescription> root node in project <name> Change the name of the project instead of the name so that we can successfully import the project; If you find that your project does not have a. project file, then you just need to get rid of the project folder name; If you don't have a. project file, and you have a naming conflict after you change the project name, you can copy a. project file from another project and then break the name node content (note Meaning: Mac and Linux system computers are not visible and copied with "." The beginning of the file).

Android is unable to import the downloaded project (which is the same as the project naming that already exists in Eclipse) workaround

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.