From a5ac35d392d6fb49f7c63fc3f49029ab9c74f8de Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Wed, 12 Nov 2014 12:38:22 -0800 Subject: [PATCH] refs #556: OS X Android build instructions --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 66d62a044..4d5090c48 100644 --- a/README.md +++ b/README.md @@ -136,6 +136,22 @@ APKs for testing are output to `android/java/app/build/outputs/apk/app-debug.apk You can also open `android/java` in Android Studio. +## Android (on OS X) + +Install the [Android NDK](https://developer.android.com/tools/sdk/ndk/index.html) for 64-bit OS X. + + export ANDROID_NDK_PATH="/dir/to/android-ndk-r10c" + +Install the Android SDK. We recommend doing this by way of [Android Studio](https://developer.android.com/sdk/installing/studio.html). The latest versions recommend that place the SDK someplace like `/usr/local/android-sdk-macosx`. + + export ANDROID_HOME="/dir/to/android-sdk-macosx" + +Run: + + make android + +You can then open `android/java` in Android Studio. + # Troubleshooting To trigger a complete rebuild, run `make clean` and then start over generating the Xcode projects or Makefiles as described above.