您的位置:首页 > 移动开发 > Android开发

Android开发遇到错误总结

2013-08-28 10:21 302 查看


1、Apostrophe not preceded by \

eclipse引入之前项目中的android项目,资源文件values中报特殊字符没有被转义错误,错误信息如下:

error: Apostrophe not preceded by \ (in Shanghai is China’s largest cities, the most important

economic and financial center, transportation hub and foreign trade port, is also China\’s

science and technology, culture and education as an important base. The city\’s land area is

6340.5 square kilometers.)

解决办法是,把<string name=“shanghai”>Shanghai is China’s largest cities 中的 China’s 的进行转义既 China\’s 。

2、
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: