举例android项目中的string.xml出现这个The character reference must end with the ';' delimiter.错误提示的原因及解决办法
2013-06-18 20:42
681 查看
今天在一个android项目中的string.xml中写这样一个字符串时出现了下面这个错误提示:
The reference to entity "说明" must end with the ';' delimiter.
错误的字符串如下图所示:
错误原因:在这个字符串中输入了一个特殊的符号“&”
解决办法:如果确实需要一个分隔符的话可以用分号“;”来代替“&”
The reference to entity "说明" must end with the ';' delimiter.
错误的字符串如下图所示:
错误原因:在这个字符串中输入了一个特殊的符号“&”
解决办法:如果确实需要一个分隔符的话可以用分号“;”来代替“&”
相关文章推荐
- 举例android项目中的string.xml出现这个The character reference must end with the ';' delimiter.错误提示的原因及解决办法
- android studio提示adb出现cannot parse version string:kg01这个错误的解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- 举例说明android中出现java.lang.IllegalStateException: database not open这种错误的原因及解决办法
- 有关新建Android项目时出现“AndroidManifest.xml file missing!”提示的解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- 举例说明Android开发中遇到的 java.lang.ClassCastException: java.lang.String这个问题的原因及其解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- Android 启动模拟器是出现“Failed to allocate memory: 8”错误提示的原因及解决办法
- maven项目出现web.xml is missing and <failOnMissingWebXml> is set to true错误的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- 导入android项目出现:出现Unable to resolve target 'android-8'错误及其他的一些解决办法
- AndroidStudio运行项目出现Unsupported method: AndroidProject.getPluginGeneration()错误解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法