Android app, The markup in the document following the root element must be well-formed

后端 未结 4 1848
遥遥无期
遥遥无期 2021-01-14 10:31

I had started to work on some android tutorial demo\'s from below link module 6.1 Project http://www.vogella.de/articles/Android/article.html

Am getting following er

4条回答
  •  无人共我
    2021-01-14 11:32

    Well formed XML has one root element (this is excluding the header), so essentially what it complains about is that in your root you have two elements: LinearLayout and Menu. Wrap these in another layout element or move the menu into the LinearLayout and it should be fine.

提交回复
热议问题