databinding-samples
databinding-samples copied to clipboard
java.lang.ArrayIndexOutOfBoundsException
Got multiple errors like
line 1:0 extraneous input '' expecting {COMMENT, SEA_WS, '<', PI}
line 1:0 extraneous input '' expecting {COMMENT, SEA_WS, '<', PI}
line 1:0 extraneous input '' expecting {COMMENT, SEA_WS, '<', PI}
The error was caused by different xml encoding used on Mac OS/Windows. XML encoding affecting on data binding performed on mac os was not working for non-macos devices.
The error was on debugMergeSources.
Was able to fix it by using "LF" encoding in xml file 👍 SOLVED in MACos.
But what if we are working in team and have different devices. Can't we use Data Binding? Does it have to affect on xml encoding? 👎 Or Did I miss something?