No element found solution (Android)

Source: Internet
Author: User

Just getting started with Android, after everything is ready, click to run it:

[11:02:37-uiandroid] Res/layout/Main. Out. xml: 0: originally defined here.
[11:02:37-uiandroid] E:/Android/uiandroid/RES/layout/Main. Out. xml: 1: Error parsing XML: No element found
[11:02:41-uiandroid] Res/layout/Main. xml: 0: Error: resource entry main is already defined.
[11:02:41-uiandroid] Res/layout/Main. Out. xml: 0: originally defined here.
[11:02:41-uiandroid] E:/Android/uiandroid/RES/layout/Main. Out. xml: 1: Error parsing XML: No element found
[2010-09-29 11:03:20-uiandroid] error in an XML file: Aborting build.
[2010-09-29 11:19:14-uiandroid] error in an XML file: Aborting build.

 

Depressed. I have been searching for it online for a long time. Some say that Res/main is directly running. the results after XML, as they said, Delete Main. out. I still cannot run XML again, so I had to go online and try my best to find it,

 

Finally found:

 

[Resolution Method]   1) divide main. xml. Out 2) Eclipse/project/clean The key is step 1, which requires a clear focus !!!!

 

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.