From 26b68876f4d5b759144cbfa30a16de4ec40418c4 Mon Sep 17 00:00:00 2001 From: Mygod Date: Wed, 8 Mar 2017 01:03:46 +0800 Subject: [PATCH] Update build instructions --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4c22fe9b..b1a7661a 100644 --- a/README.md +++ b/README.md @@ -12,15 +12,17 @@ A [shadowsocks](http://shadowsocks.org) client for Android, written in Scala. * JDK 1.8 * SBT 0.13.0+ +* Go 1.4+ * Android SDK - Build Tools 25+ - Android Support Repository and Google Repository (see `build.sbt` for version) -* Android NDK r12b+ +* Android NDK r14+ ### BUILD * Set environment variable `ANDROID_HOME` to `/path/to/android-sdk` * Set environment variable `ANDROID_NDK_HOME` to `/path/to/android-ndk` +* Set environment variable `GOROOT_BOOTSTRAP` to `/path/to/go` * Create your key following the instructions at https://developer.android.com/studio/publish/app-signing.html * Create `mobile/local.properties` from `mobile/local.properties.example` with your own key information * Invoke the building like this @@ -29,7 +31,7 @@ A [shadowsocks](http://shadowsocks.org) client for Android, written in Scala. git submodule update --init --recursive # Build the App - sbt clean android:package-release + sbt clean go-build android:package-release ``` ### TRANSLATE