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

由于ADT版本问题,若打开layout时 如果提示:Incorrect line ending: found carriage return (\r) without corresponding newline (\n)

解决方案1: ——clean一下项目,这个方法可以解决 。只是临时解决,下一次打开,问题照旧。

解决方案2

  1. Open layout file
  2. Ctrl+Shift+F (Command+Shift+F )
  3. Save the layout file and close it.
  4. Delete any .out files the builder might have created.
  5. Clean project.

猜你喜欢

转载自fireinwind.iteye.com/blog/1830785