现在的位置: 首页 > 综合 > 正文

使用NDK编译JNI时出现错误

2015年12月23日 ⁄ 综合 ⁄ 共 267字 ⁄ 字号 评论关闭

错误:

fatal error: string: No such file or directory
compilation terminated.

 

解决方法:

调用标准库

在Application.mk中添加 APP_STL := gnustl_static

 

错误:使用ndk-r8d编译工程时,出现android-ndk-r8d/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''.  Stop.

 

解决方法:

删除工程中的AndroidManifest.xml文件

 

抱歉!评论已关闭.