summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/README.md b/README.md
index 022377e990..3ce05871b6 100644
--- a/README.md
+++ b/README.md
@@ -103,6 +103,37 @@ Or proceed to building the debug application with:
make linux
+## Android (on Linux)
+
+Follow Linux steps until ./configure
+
+Install Oracle JDK 7
+
+ wget http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.tar.gz
+ tar -xzf jdk-7u71-linux-x64.tar.gz
+ export JAVA_HOME="/dir/to/jdk1.7.0_71"
+
+Install Android NDK
+
+ wget http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
+ chmod +x android-ndk-r10c-linux-x86_64.bin
+ ./android-ndk-r10c-linux-x86_64.bin
+ export ANDROID_NDK_PATH="/dir/to/android-ndk-r10c"
+
+Install Android SDK
+
+ wget http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
+ tar -xzf ./android-sdk_r23.0.2-linux.tgz
+ ./android-sdk-linux/tools/android update sdk -u -a -t tools,platform-tools,build-tools-21.1.0,android-19,android-21
+ export ANDROID_HOME="/dir/to/android-sdk-linux"
+
+Run
+
+ make android
+
+APKs for testing are output to android/java/app/build/outputs/apk/app-debug.apk
+
+You can also open android/java in Android Studio.
# Troubleshooting