make -j6 提示"error:Apostrophe not preceded by \ "

今天在編譯android項目時,遇到一個錯誤"error: Apostrophe not preceded by \" 。android

後來發現是我修改了string.xml文件中,一個string標籤中的字符串中含有 ' (單引號),必須在單引號前加個轉義符 \ ,便可。post

例如:把I‘m Learning 修改成I\'m Learning。xml

相關文章
相關標籤/搜索