Android error: “Apostrophe not preceded by \” 解决办法
来源:互联网 发布:法语之言能无从乎 编辑:程序博客网 时间:2024/05/29 12:33
Android开发中,在资源文件 values文件中报错,信息如下:
Error:(390) Apostrophe not preceded by \ (in What's the Date?)
出现此错误的原因是特殊字符没有被转义,在我的项目中是What's中的’没有被转义
<?xml version="1.0" encoding="utf-8"?><resources> ... <string name=“whats_the_date”>What's the Date?</string></resources>
解决:将上述代码添加上转义字符\
<?xml version="1.0" encoding="utf-8"?><resources> ... <string name=“whats_the_date”>What\'s the Date?</string></resources>
修改后,错误消失,可正常编译
0 0
- Android error: “Apostrophe not preceded by \” 解决办法
- Android error: "Apostrophe not preceded by \"错误解决办法
- android error: Apostrophe not preceded by \
- android error: Apostrophe not preceded by \
- error: Apostrophe not preceded by \ (
- Error: Apostrophe not preceded by \ (
- error: Apostrophe not preceded by \
- error: Apostrophe not preceded by \
- error: Apostrophe not preceded by \
- Error:Apostrophe not preceded by \ (
- android error: Apostrophe not preceded
- 我的Android进阶之旅------>报 error: Apostrophe not preceded by \ 的错误解决办法
- Android项目“error: Apostrophe not preceded by \ (”报错解决方法
- android studio中报error: Apostrophe not preceded by \错误
- Android 报错:Error: Apostrophe not preceded by \ (in ... ...)
- Android Studio打包报错error: Apostrophe not preceded by \ (
- Android项目“error: Apostrophe not preceded by \ (”报错解决方法
- error: Apostrophe not preceded by \ (in ...)
- 一洽CEO:一洽在线客服生态链的使命
- vs下c++调用matlab
- php常见的六种设计模式
- Linux学习篇第二章~unit2
- java File类遍历出文件夹下的所有文件
- Android error: “Apostrophe not preceded by \” 解决办法
- 5064. 友好城市
- 浅谈mysql的搜索引擎之MyISAM和InnoDB的异同
- python使用遇到的问题
- 构造函数
- 拓扑排序
- A
- 在vs中安装Easyx图形库(仅c++)
- C语言计算文件MD5