From b3e778814b46593650ec1245ca28e779c0f5ed29 Mon Sep 17 00:00:00 2001 From: zhongl Date: Tue, 10 Jun 2014 16:45:02 +0800 Subject: [PATCH] Improve README to reduce building problem. --- README.md | 10 +++++++--- local.properties.example | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3f4444c8..505867a3 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,12 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite * Set environment variable `ANDROID_NDK_HOME` to `/path/to/android-ndk` * Create your key following the instructions at http://developer.android.com/guide/publishing/app-signing.html#cert * Put your key in ~/.keystore -* Create `local.properties` from `local.properties.example` with your own key alias +* Create `local.properties` from `local.properties.example` with your own key information * Invoke the building like this ```bash + git submodule update --init + # Build native binaries ./build-ndk.sh @@ -37,14 +39,16 @@ Help to translate shadowsocks: http://crowdin.net/project/shadowsocks/invite #### BUILD on Mac OS X (with HomeBrew) * Install Android SDK and NDK by run `brew install android-ndk android-sdk` -* Add `export ANDROID_HOME=/usr/local/opt/android-sdk` to your .bashrc , then reopen the shell to loat it. +* Add `export ANDROID_HOME=/usr/local/Cellar/android-sdk/$version` to your .bashrc , then reopen the shell to loat it. * Run `echo "y" | android update sdk --filter tools,platform-tools,build-tools-19.0.3,android-19,extra-google-m2repository,extra-android-m2repository --no-ui --no-https -a` * Create your key following the instructions at http://developer.android.com/guide/publishing/app-signing.html#cert * Put your key in ~/.keystore -* Create `local.properties` from `local.properties.example` with your own key alias . +* Create `local.properties` from `local.properties.example` with your own key information . * Invoke the building like this ```bash + git submodule update --init + # Build native binaries ./build-ndk.sh diff --git a/local.properties.example b/local.properties.example index 771b6607..31c74f8f 100644 --- a/local.properties.example +++ b/local.properties.example @@ -1,3 +1,3 @@ key.alias: travis -key.store: travis.keystore +key.store: /path/to/travis.keystore key.store.password=travis