用Eclipse环境开发Android项目,如果编译时控制台报出“error: Apostrophe not preceded by \ (”这种错误,那么多半是因为项目中的一个strings.xml文件里有一个string标签中的字符串含有’,只要在’之前加\进行转义就可以解决这个错误,比如把I'm修改为I\'m就可以了。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-11
  • 2021-05-27
  • 2022-12-23
  • 2021-11-02
  • 2021-12-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
相关资源
相似解决方案