xml - arrays.xml:16:错误:解析 XML 时出错:标签不匹配
问题描述
<string-array name="screen_orientation_entryvalues"><item>sensor</item><item>landscape</item>unspecified</item></string-array>
<string-array name="solar_emulation_entries"><item>L + left/right</item><item>"Device's light sensor"</item></string-array>
<string-array name="solar_emulation_entryvalues"><item>user_setting</item><item>light_sensor</item></string-array>
解决方案
The last item
in the first string-array
has an unmatched end tag.
Here it is with the matching start tag added:
<resources>
<string-array name="screen_orientation_entryvalues"><item>sensor</item><item>landscape</item><item>unspecified</item></string-array>
<string-array name="solar_emulation_entries"><item>L + left/right</item><item>"Device's light sensor"</item></string-array>
<string-array name="solar_emulation_entryvalues"><item>user_setting</item><item>light_sensor</item></string-array>
</resources>
推荐阅读
- python - Python:在某些索引处附加到numpy数组并改变形状
- ajax - AJAX 500 内部服务器错误但进程成功
- html - 您如何将字体上传到您的网页(是否需要服务器)?
- macos - 如何从终端运行 url 命令?
- c - 在 C 中制作通用模式函数
- c# - .net35 的 socket.ConnectAsync
- amazon-web-services - Hive 无法在数据集中创建表或计算行数
- python - request.user.is_authenticated 的问题
- r - 基于相同的公司名称标准化客户 ID
- java - IMAP 退回电子邮件:从退回的电子邮件中删除原始邮件