c - Android Studio, LOCAL_C_INCLUDES += /foo/bar/include not working? -


i have android studio project uses ndk , can't include paths work.

let have app/src/main/jni/foo/bar/file.c

and includes "my/lib/inc.h"

when add

local_c_includes += /home/user/include/ (to app/src/main/jni/android.mk)

where folder "my" located still file not found ndk-build

if add "my" app/src/main/jni works fine.

what missing?

android studio ignoring android.mk , generating own.

at present instant in time, ndk isn't supported android studio, , although find various version-specific gradle rule modifications have apparently worked authors, may easier build ndk code , merely let packaging stage pickup results.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -