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,
查看有没一些特殊字符存在或是一些隐藏字符的原因。
原因可能是我们从其他地方复制过来时存在着一些空格,回车等字符原因所致。
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,
查看有没一些特殊字符存在或是一些隐藏字符的原因。
原因可能是我们从其他地方复制过来时存在着一些空格,回车等字符原因所致。
相关文章推荐
- 线性布局LinearLayout小写成Linearlayout导致报错:Multiple annotations found at this line: - Unexpected text foun
- 网站开发进阶(十六)错误提示:Multiple annotations found at this line:- basePath cannot be resolved to a variable
- 网站开发进阶(十六)错误提示:Multiple annotations found at this line:- basePath cannot be resolved to a variable
- jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w
- Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not
- jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”解决方案
- MyEclipse Multiple annotations found at this line: - Cannot return from outside a function or method
- maven-Multiple annotations found at this line:
- spring Multiple annotations found at this line: 解决办法
- spring配置错误Multiple annotations found at this line
- Multiple annotations found at this line:
- 异常:Multiple annotations found at this line:
- pom.xml 报错:Multiple annotations found at this line
- Multiple annotations found at this line:解决
- 你的Jsp页面有黄×么,有黄色问号么?Multiple annotations found at this line: - Invalid location of tag (form). - No
- jsp编译报错:Multiple annotations found at this line:
- dubbo找不到dubbo.xsd,报错Multiple annotations found at this line:
- Multiple annotations found at this line
- Multiple annotations found at this line: - javax.servlet.jsp.PageContext cannot be resolved to a typ
- Maven pom.xml报错 Multiple annotations found at this line