element RelativeLayout must be declared

前端 未结 1 543
盖世英雄少女心
盖世英雄少女心 2021-01-11 09:13

I\'m getting the error \"element RelativeLayout must be declared\" and I don\'t know the reason for its occurrence. How do I get rid of this error, please post

相关标签:
1条回答
  • 2021-01-11 09:41

    I had faced same error because I add added Layout resource file inside drawable folder instead of layout folder

    make sure to put layout files inside layout directory

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