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 。