Android NDK build script ignoring main makefile
I've got Application.mk file which is ignored by ndk-build for some reason. What i've got in it:
APP_PROJECT_PATH := $(call my-dir)
APP_CPPFLAGS += -frtti
APP_CPPFLAGS += -fexceptions
APP_OP开发者_StackOverflow中文版TIM := debug
APP_STL := gnustl_static
And flags on build is still:
-fno-exceptions -fno-rtti
And no gnustl includes.
What can be the problem?
Make sure the Application.mk
is inside the jni
folder, alongside the Android.mk
.
精彩评论