Getting Android NDK r9d to support C ++ 11

I can’t get the Android NDK to have C ++ 11 support. Given that I am transferring another person’s project to android via ndk, I really have no experience with C ++ before.

My application.mk:

NDK_TOOLCHAIN_VERSION := clang
APP_STL := c++_static
APP_CPPFLAGS := -std=c++11 -frtti -fexceptions
APP_ABI := all
APP_PLATFORM := android-8

Thanks in advance!

+4
source share

Source: https://habr.com/ru/post/1547283/


All Articles