Problems and solutions that Eclipse cannot import into the Android project

Source: Internet
Author: User

Recently, when a new Android project was introduced, it was not possible to import an existing project. The specific phenomenon is that every time the import window disappears, there is no additional error in the Eclipse's Package explorer without adding the newly imported engineering folder.

Common ways to import eclipse projects

1. file->import->existing Android Code into Workspace, eject the Import Project window and select the directory in which to import the project.

2. In the Package Explorer window, right-click->new->project...->android project from Existing Code, eject the Import Engineering window and select the directory in which to import the project.

I used the 2nd method, and I checked the copy project into workspace. By testing, I found that other projects could be imported, which showed that it was not a problem with Eclipse and ADT versions. An answer on StackOverflow http://stackoverflow.com/a/13405484/1767800 let me make it clear that the problem may be due to file format. After checking, it is found that the code in the Androidmanifest.xml file is not well-formed, so it cannot be imported and can be imported normally after modification.

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/extra/

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.