October 2018
Intermediate to advanced
246 pages
6h 26m
English
Application.mk file contains the target ABIs, toolchain, release/debug mode, and STL. Default values of the few parameters are listed as follows if we don't specify them explicitly:
Here, we specify the toolchain, the Android API version, and the architecture that will be used. Similarly, if you are building for other architectures such as Million Instructions Per Second (MIPS), specify this in the APP_ABI variable as a comma-separated value:
NDK_TOOLCHAIN_VERSION := clangAPP_STL := gnustl_staticAPP_CPPFLAGS := -frtti -fexceptions -std=c++11 -DNO_MAKEFILEAPP_ABI := armeabi-v7aAPP_PLATFORM := android-15APP_CXX = -clang++LOCAL_C_INCLUDES += ${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/4.8/include ...Read now
Unlock full access