您的位置:首页 > 其它

Andriod开发-Multiple annotations found at this line:Unexpected text found in layout

2013-12-11 13:59 567 查看
在layout的xml编写时出现下面的错误,

Multiple annotations found at this line:

 - Unexpected text found in layout

  file: " "

 - Content is not allowed in trailing

  section.

解决办法:

Window->Preferences->General->Editors->Text Editors->Show whitespace characters,

查看有没一些特殊字符存在或是一些隐藏字符的原因。

原因可能是我们从其他地方复制过来时存在着一些空格,回车等字符原因所致。

 

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐