Commit b73d483f authored by Max Lv's avatar Max Lv

Merge pull request #81 from zhongl/master

Improve README
parents 5c4c8bee b3e77881
......@@ -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
......
key.alias: travis
key.store: travis.keystore
key.store: /path/to/travis.keystore
key.store.password=travis
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment