deforde / android-native-hello

Example of how to run purely native code in an Android emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

android-native-hello

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.

Install

To install the Android cmd line tools, platform, emulator and NDK, run:

./install.sh

Build

To build the native application, run:

./build.sh

Run

To run the emulator, push the native app, invoke it and terminate, run:

./run.sh

About

Example of how to run purely native code in an Android emulator

License:MIT License


Languages

Language:Shell 86.0%Language:CMake 10.8%Language:C 3.2%