This page is an introduction to the compilation for Android on MacOS or Ubuntu.
-
install android ndk (14b) and Android studio
-
Host Requirements
-
MacOS
brew install automake git libtool autoconf
-
Ubuntu
sudo apt-get install automake git libtool autoconf
-
-
Environment setup
mkdir ~/Android-env/ ln -s your_ndk_path ~/Android-env/
-
build_external
. setup.env cd external/ ./build_external.sh Android
-
open the Android studio project ../platform/Android/source/
-
edit local.properties ,add ndk.dir=your_ndk_path