Android NDK build script ignore main makefile

I have an Application.mk file which for some reason is ignored by ndk-build. What I have:

APP_PROJECT_PATH := $(call my-dir) APP_CPPFLAGS += -frtti APP_CPPFLAGS += -fexceptions APP_OPTIM := debug APP_STL := gnustl_static 

And the flags in the assembly are still:

 -fno-exceptions -fno-rtti 

And no gnustl.

What could be the problem?

+4
source share
1 answer

Make sure Application.mk is inside the jni folder, next to Android.mk .

+1
source

All Articles