Unverified Commit 603b6b5d authored by Mygod's avatar Mygod Committed by GitHub

Update README.md

parent 9ef8d4ef
...@@ -18,21 +18,20 @@ for Android TV ([beta](https://play.google.com/apps/testing/com.github.shadowsoc ...@@ -18,21 +18,20 @@ for Android TV ([beta](https://play.google.com/apps/testing/com.github.shadowsoc
* JDK 1.8 * JDK 1.8
* Android SDK * Android SDK
- Android NDK - Android NDK
* Rust with targets `armv7-linux-androideabi`, `aarch64-linux-android`, `i686-linux-android`, `x86_64-linux-android`
### BUILD ### BUILD
You can check whether the latest commit builds under UNIX environment by checking Travis status. You can check whether the latest commit builds under UNIX environment by checking Travis status.
* Install prerequisites
* Clone the repo using `git clone --recurse-submodules <repo>` or update submodules using `git submodule update --init --recursive` * Clone the repo using `git clone --recurse-submodules <repo>` or update submodules using `git submodule update --init --recursive`
* Build it using Android Studio or gradle script * Build it using Android Studio or gradle script
### BUILD WITH DOCKER ### BUILD WITH DOCKER
```bash * Clone the repo using `git clone --recurse-submodules <repo>` or update submodules using `git submodule update --init --recursive`
mkdir build * Run `docker run --rm -v ${PWD}:/build -w /build shadowsocks/android-ndk-go bash -c "./gradlew assembleDebug"`
sudo chown 3434:3434 build
docker run --rm -v ${PWD}/build:/build circleci/android:api-28-ndk bash -c "cd /build; git clone https://github.com/shadowsocks/shadowsocks-android; cd shadowsocks-android; git submodule update --init --recursive; ./gradlew assembleDebug"
```
### CONTRIBUTING ### CONTRIBUTING
......
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