由于ADT版本问题,若打开layout时 如果提示:Incorrect line ending: found carriage return (\r) without corresponding newline (\n)
解决方案1: ——clean一下项目,这个方法可以解决 。只是临时解决,下一次打开,问题照旧。
解决方案2
- Open layout file
- Ctrl+Shift+F (Command+Shift+F )
- Save the layout file and close it.
- Delete any
.out
files the builder might have created. - Clean project.