This repo provides a simple, automated and self-contained example demonstrating how to compile a purely native executable for Android and run it in an emulator.
To install the Android cmd line tools, platform, emulator and NDK, run:
./install.sh
To build the native application, run:
./build.sh
To run the emulator, push the native app, invoke it and terminate, run:
./run.sh