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 。
原文地址:
解决Eclipse中Android项目资源文件values内的特殊字符未转义问题,具体表现为字符串中英文撇号(')未使用转义字符(’)。
3021

被折叠的 条评论
为什么被折叠?



