string.xml文件需要转译字符”’”

error: Apostrophe not preceded by \ (in Shanghai is China’s largest cities, the most    strings.xml    /StartActivty/res/values    line 30    Android AAPT Problem

在string.xml文件中,输入的英文字符China’s中”’”是需要转译的。只需加一个英文的”\”即可;即China\’s。这样编译就不会出错

原文地址:https://www.cnblogs.com/superchao8/p/1887960.html