- install ninja, like
brew install ninja
- set
NDK_ROOT
, like
NDK_ROOT=${HOME}/Library/Android/sdk/ndk-bundle
export NDK_ROOT
- clone this repository
git clone https://github.com/huntto/Build-JRTPLIB-for-Android --recursive
- change directory
cd Build-JRTPLIB-for-Android
run build shell
./android.sh
or specify android-arch-abi and api-level like
./android.sh arm64-v8a 24