1# Building for Android 2 3Assuming the Android Ndk is installed at location `/path/to/toolchain`, building 4libsndfile for Android (arm-linux-androideabi) should be as simple as: 5``` 6./autogen.sh 7export ANDROID_TOOLCHAIN_HOME=/path/to/android/toolchain 8./Scripts/android-configure.sh 9make 10``` 11The `Scripts/android-configure.sh` contains four of variables; `ANDROID_NDK_VER`, 12`ANDROID_GCC_VER`, `ANDROID_API_VER` and `ANDROID_TARGET` that can be overridden 13by setting them before the script is run. 14 15Since I (erikd), do almost zero Android development, I am happy accept patches 16for this documentation and script to improve its utility for real Android 17developers. 18