Android Studio: Error parsing XML & URI is not registered

后端 未结 8 1430
别跟我提以往
别跟我提以往 2020-12-09 02:38

After adding a new Activity to my project I get following error while compiling the layout

Gradle: Error parsing XML: not well-formed (invalid token)<

相关标签:
8条回答
  • 2020-12-09 03:17

    For me, the problem occured when I created my own subfolder for old code.

    Specifically, Android Studio threw an error for all layout files that weren't in the default folder ../res/drawable/, but instead placed in my own subfolder ../res/drawable/backup.

    0 讨论(0)
  • 2020-12-09 03:22

    First thing is go to the project folder in the Android studio and check for any folders which are created by you. It will show this error if you have created any folder on your own.

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