error: Error parsing XML: not well-formed (invalid token) …?

后端 未结 9 1051
长发绾君心
长发绾君心 2020-11-29 02:22

I am working on an application, with following XML. but whenI try to clean/build my project the following error occurs:

\"error: Error parsing XML: not well-formed (

相关标签:
9条回答
  • 2020-11-29 03:01

    Remove the semicolon after hello

    0 讨论(0)
  • 2020-11-29 03:02

    I had this problem, and when I had android:text="< Go back" it had the correct syntax highlighting, but then I realized it's the < symbol that is messing everything up.

    0 讨论(0)
  • 2020-11-29 03:02

    In my case I forgot to end my ConstrainLayout

    </android.support.constraint.ConstraintLayout>
    

    After that, everything started working correctly.

    0 讨论(0)
提交回复
热议问题