Android Studio: Error parsing XML & URI is not registered

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

    For me this problem was gone when I have made following changes to my project structure on Android Studio. file->project structure ->SDK Location -> enable check mark for "Use embedded JDK (recommended). Hope this will help someone.

提交回复
热议问题