diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2014-11-12 12:38:22 -0800 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2014-11-12 12:38:22 -0800 |
commit | a5ac35d392d6fb49f7c63fc3f49029ab9c74f8de (patch) | |
tree | 70090033d7c3fe216ab7eb884b441504d23f806b /README.md | |
parent | 2071247689d94416be91fbaa1e4b09aa48b6d8f3 (diff) | |
download | qtlocation-mapboxgl-a5ac35d392d6fb49f7c63fc3f49029ab9c74f8de.tar.gz |
refs #556: OS X Android build instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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. |