diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/INSTALL.markdown | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/INSTALL.markdown b/docs/INSTALL.markdown index 11026c5d..c695efb4 100644 --- a/docs/INSTALL.markdown +++ b/docs/INSTALL.markdown @@ -70,12 +70,21 @@ Build as: Additional requirements: * [Android NDK](http://developer.android.com/sdk/ndk/index.html) +* [Android SDK](http://developer.android.com/sdk/index.html#Other). **Make sure you have Android 4.4.2 (API 19) platform SDK installed and Android build tools "21.1.2". API 19 is needed only to build the APK, but it will still run on lower API versions (with works starting with API 12).** Build as: - export ANDROID_NDK=/path/to/your/ndk - cmake -H. -Bbuild -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/android.toolchain.cmake -DANDROID_API_LEVEL=9 + cmake \ + -H. -Bbuild \ + -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain/android.toolchain.cmake \ + -DANDROID_NDK=/path/to/your/ndk \ + -DANDROID_API_LEVEL=9 \ + -DANDROID_STL=gnustl_shared \ + [-DANDROID_SDK=/path/to/your/sdk] + make -C build + [make -C build retraceAPK] will build Android retrace APK. + [make -C build installRetraceAPK] will build & install Android retrace APK on the connected device. You can also choose a particular ABI by passing `ANDROID_ABI` variable to cmake, e.g., `-DANDROID_ABI=x86`. Currently, when targeting AArch64 you [must @@ -89,6 +98,8 @@ CMake as: -DANDROID_TOOLCHAIN_NAME=aarch64-linux-android-4.9 \ -DANDROID_ABI=arm64-v8a +** You'll need Android SDK only to build the retrace APK. ** + # FirefoxOS # |