Today, I wrote a source code on the Internet. The invalid project description prompt is displayed during the import. It means "invalid project description, I don't understand. Baidu has found a solution. Now it's recorded and shared!
Android prompts the invalid project description when importing a project. When we click the <details> button to view details, we can see the overlaps the location of another project description, translating to Chinese means that the imported project location overlaps with another project ():
In fact, this problem occurs when the description file version is incorrect when importing a project based on Eclipse IDE. In Android development, this problem is caused by androidmanifest. XML file versions are different.
I am not familiar with Eclipse, but after some queries and tests, I found that the cause of this error is: because I put the project folder to be imported under the default Android directory of eclipse, and when eclipse imports the project, it creates (or copies) new files under the default directory ). At this time, the created folder name is in the same directory as the name of the imported folder, and it is repeated. This error occurs (the above is due to my speculation after a simple test and there is no reliable evidence .. ).
Therefore, the solution is to put the folder to be imported elsewhere.
For example, the default working directory of eclipse Android is E: \ androidworkspace, and the project folder to be imported is hello.
If we put Hello directly in the E: \ androidworkspace directory and then import it, the above error will occur !!
You can change the directory, for example, to the E: \ androidcode directory !!
Source