Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.28 KB

compile_Android.md

File metadata and controls

45 lines (32 loc) · 1.28 KB

AndroidCompile

This page is an introduction to the compilation for Android on MacOS or Ubuntu.

  1. install android ndk (14b) and Android studio

  2. Host Requirements

    • MacOS

      brew install automake git libtool autoconf
    • Ubuntu

      sudo apt-get install automake git libtool autoconf
  3. Environment setup

    mkdir ~/Android-env/
    ln -s your_ndk_path ~/Android-env/
  4. build_external

    . setup.env
    cd external/
    ./build_external.sh Android
  5. open the Android studio project ../platform/Android/source/

  6. edit local.properties ,add ndk.dir=your_ndk_path