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