summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2014-11-12 12:38:22 -0800
committerJustin R. Miller <incanus@codesorcery.net>2014-11-12 12:38:22 -0800
commita5ac35d392d6fb49f7c63fc3f49029ab9c74f8de (patch)
tree70090033d7c3fe216ab7eb884b441504d23f806b /README.md
parent2071247689d94416be91fbaa1e4b09aa48b6d8f3 (diff)
downloadqtlocation-mapboxgl-a5ac35d392d6fb49f7c63fc3f49029ab9c74f8de.tar.gz
refs #556: OS X Android build instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/README.md b/README.md
index 66d62a0446..4d5090c48e 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.