不正确的行结束:发现回车(\ r)没有相应的换行符(\ n) [英] Incorrect line ending: found carriage return (\r) without corresponding newline (\n)
本文介绍了不正确的行结束:发现回车(\ r)没有相应的换行符(\ n)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在XML文件中收到的错误。 不正确的行结束:发现回车(\ r)没有相应的换行符(\ n)
I received error in my xml file. "Incorrect line ending: found carriage return (\r) without corresponding newline (\n).
<Button
android:id="@+id/btn_login"
android:layout_width="100dip"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignRight="@+id/et_un"
android:layout_marginBottom="15dp"
android:layout_marginRight="22dp"
android:text="Login"
android:textColor="#AA0000"
android:textSize="10pt" />
如何解决它。谁能帮助
How to solve it. can anyone help
推荐答案
在Windows上使用的Eclipse?
Using Eclipse on Windows?
- 开启布局文件
- 按Ctrl + Shift + F(命令+ SHIFT + F在MacOSX的)
- 保存布局文件并关闭它。
- 删除任何
.OUT
文件生成器可能会产生。 - 清洁项目。
- Open layout file
- Ctrl+Shift+F (Command+Shift+F in MacOSX)
- Save the layout file and close it.
- Delete any
.out
files the builder might have created. - Clean project.
这篇关于不正确的行结束:发现回车(\ r)没有相应的换行符(\ n)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文