开发者

Android NDK build script ignoring main makefile

开发者 https://www.devze.com 2023-04-10 05:51 出处:网络
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)

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号