nexti
nexti

Reputation: 65

conflicts with another tag that has the same ID

I'm having a problem updating an XML file

Found data binding error(s):

[databinding] {"msg":"\u003cRelativeLayout id\u003d\u0027@+id/rlSearch\u0027\u003e conflicts with another tag that has the same ID","file":"app\\src\\main\\res\\layout\\home_fragment_new.xml","pos":[{"line0":105,"col0":20,"line1":140,"col1":37}]}
[databinding] {"msg":"\u003ccom.pets.igloopet.utils.CustomEditText id\u003d\u0027@+id/IVsearch\u0027\u003e conflicts with another tag that has the same ID","file":"app\\src\\main\\res\\layout\\home_fragment_new.xml","pos":[{"line0":123,"col0":29,"line1":137,"col1":69}]}
[databinding] {"msg":"\u003cRelativeLayout id\u003d\u0027@+id/rlSearch\u0027\u003e conflicts with another tag that has the same ID","file":"app\\src\\main\\res\\layout\\home_fragment_new.xml","pos":[{"line0":167,"col0":20,"line1":200,"col1":36}]}
[databinding] {"msg":"\u003ccom.pets.igloopet.utils.CustomEditText id\u003d\u0027@+id/IVsearch\u0027\u003e conflicts with another tag that has the same ID","file":"app\\src\\main\\res\\layout\\home_fragment_new.xml","pos":[{"line0":184,"col0":28,"line1":197,"col1":68}]}

My code Full code

I tried the following

Unfortunately nothing helps

Upvotes: 2

Views: 1590

Answers (2)

Peter876
Peter876

Reputation: 11

Restarted Mac after Invalidated Cache is resolve this issue

Upvotes: 1

Yoram Sama
Yoram Sama

Reputation: 18

Try replacing the Api version with your emulator, for me it worked

Upvotes: 0

Related Questions