在Android.mk中添加 LOCAL_CFLAGS += -D_FORTIFY_SOURCE = 0即可解决问题。

更多推荐

Android studio编译的so库,在安卓开发板上测试运行时遇到FORTIFY:vsprintf:prevented write past end of