android error: Apostrophe not preceded 错误解决办法

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 。

 


原文地址:


http://wangjun.easymorse.com/?p=743

你可能感兴趣的:(android)