Strange xml error: Incorrect line ending

前端 未结 15 514
臣服心动
臣服心动 2021-02-01 13:42

I haven\'t used Eclipse since 1 week ago. Today I started it and I noticed that it loaded slowly. When it was started it prompted this:

http://tinypic.com?ref=2zpk1g2&am

相关标签:
15条回答
  • 2021-02-01 14:47

    Just Go to --> window option and than click clear option and ok.

    Incorrect line ending: found carriage return (\r) without corresponding newline (\n).

    0 讨论(0)
  • 2021-02-01 14:47

    One more possible solution is, to format the layout xml file which lead to this error. If you are using eclipse then use short cut Ctrl+i and save the file. With this you should be able to get rid off this error for that particular file permanently

    0 讨论(0)
  • 2021-02-01 14:49

    I just got the same annoying problem. What I did was copying the entire code into notepad. Then from notepad, paste it back into the xml field. I know, it sounds stupid, but it worked and I have no idea why -__-"

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