Unable to find header files - Android NDK

后端 未结 4 701
南笙
南笙 2020-12-28 19:17

i\'m wrapping a native API to Android by NDK.

But when building it don\'t find the header files.

I have the following structure.

project/jni

4条回答
  •  情歌与酒
    2020-12-28 19:52

    For new people's convenience, I just want to add that move all your header files in folder which is referred by LOCAL_C_INCLUDES := $(LOCAL_PATH) and then save android.mk and restart eclipse. After trying all the above solutions, that worked for me.

提交回复
热议问题