Android prompts the invalid project description solution when importing a project

Source: Internet
Author: User

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

Related Article

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.