Android / Eclipse / Premature end of xml file

前端 未结 9 563
情深已故
情深已故 2021-01-18 05:06

Let me start by acknowledging that I did find a similar question on here but there was only one answer and that answer did not apply in my situation, so...

I am just

9条回答
  •  自闭症患者
    2021-01-18 05:31

    Is http://schemas.android.com/apk/res/android alive?

    The XML editor will try to download the XML Schema to validate the XML. If the site is down or the XML schema is damaged, this could cause these errors.

    Try to download the schema and add it to your "xml catalogue" (search in your Eclipse preferences) to avoid this problem.

提交回复
热议问题