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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -