Android Studio: Error parsing XML & URI is not registered

后端 未结 8 1512
别跟我提以往
别跟我提以往 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:08

    My issue was creating new resource directory for some animation work. The files were .xml and I chose file type as "xml". I got this problem. Changing the file type to "values" and the problem went away. No idea why, could someone explain this to me? I'm using Android Studio on an iMac.

提交回复
热议问题