android databinding error:Execution failed for task ':app:dataBindingProcessLayoutsDebug'

后端 未结 5 1152
不思量自难忘°
不思量自难忘° 2021-01-02 18:06

my partner in ours\' project use android databinding.in my pc had error,but in his mac not error.i cant resolve this program.please help!! it\'s my build gradle:

<         


        
5条回答
  •  攒了一身酷
    2021-01-02 18:30

    I had the same kind of problem with this log:

    line 1:0 extraneous input '' expecting {COMMENT, SEA_WS, '<', PI}
    

    This was super strange to me, no real feedback. To solve it:

    1. Created new layout resource files
    2. Copy and paste the content of the original ones leaving out just the first character
    3. Adding it myself in the new file.

提交回复
热议问题