编译时控制台报出“error: Apostrophe not preceded by \ ”
来源:互联网 发布:建国大业 知乎 编辑:程序博客网 时间:2024/05/18 02:03
当我们用Eclipse环境开发Android项目,如果编译时控制台报出“error: Apostrophe not preceded by \ (”这种错误,那么多半是因为我们项目中的一个strings.xml文件里有一个string标签中的字符串含有’(单引号),我们只要在’之前加\进行转义就可以解决这个错误,比如把Can’t修改为Can\’t就可以了
这是华丽丽的 java 特点
0 0
- 编译时控制台报出“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 by \
- android error: Apostrophe not preceded by \
- error: Apostrophe not preceded by \ (in ...)
- Error:(710) Apostrophe not preceded by \ (in )
- Error:(302) Apostrophe not preceded by \(解决方案
- Android error: “Apostrophe not preceded by \” 解决办法
- Error:(896) Apostrophe not preceded by \
- error: Apostrophe not preceded by \ (in XXX.)
- Apostrophe not preceded by \\
- Apostrophe not preceded by \ ...
- Android项目“error: Apostrophe not preceded by \ (”报错解决方法
- 【解惑】 中断线程Interrupted的用处
- Objective-C - NSString 和 NSDate相互转换
- hdu2844多重背包简单应用
- nyoj214
- 【Spring】几种RPC模型的使用与比较——Hessian/Burlap
- 编译时控制台报出“error: Apostrophe not preceded by \ ”
- 消息中心 NSNotificationCenter
- codechef Jewels and Stones 题解
- Schema
- 线性表-串:KMP模式匹配算法
- c语言之良好的编程习惯(二)
- 发送手机短信获取验证码功能
- 内核漏洞学习
- 图解天羽翼荣誉与 问问他鲐鯣鱼哦人一日游尔特让他