经过测试,如果手机系统在5.0之下,项目project.properties的target若在5.0以上(android-20), NDK 使用atof就会报错:

cannot locate symbol "atof",使用strtof 也是一样:cannot locate symbol "strtof",

我目前所使用的解决办法是用 strtod()方法

 

相关文章:

  • 2022-12-23
  • 2021-05-20
  • 2021-06-02
  • 2022-12-23
  • 2021-12-05
  • 2021-06-27
  • 2022-12-23
  • 2021-07-13
猜你喜欢
  • 2021-07-09
  • 2022-12-23
  • 2021-05-07
  • 2021-08-13
  • 2021-09-20
  • 2022-01-30
  • 2021-06-08
相关资源
相似解决方案