
Android High Performance Programming
By :

Before we start creating our first native application, we would like to introduce some initial concepts to the reader, to ensure easier understanding:
ndk-build: This file is the shell script in charge of invoking the NDK build. Automatically, this script checks that the system and the application is right, is generating the binaries that will be used, and copying them to our project structure. Being a shell script, it can be called with a few extra parameters:
clean
: This parameter makes the script clean all the binaries that have been previously generated
–B
: Using the –B
option, we force the system to perform a rebuild
V=1
: This releases the build and also displays build commands
NDK_DEBUG=X
: If we use 1
, the build will be debuggable; if we use 0
, we will be forcing a release build
NDK_LOG=X
: Using 1
, NDK will log all the messages that are generated during the build
Keep in mind that all the parameters can be partially combined (for instance, you could use B V=1
if you...