Shadowsocks for Android
for Android & Chrome OS (beta)
for Android TV (beta)
PREREQUISITES
- JDK 1.8
- Android SDK
- Android NDK
- Rust with Android targets installed
$ cd core/src/main/rust/shadowsocks-rust
$ rustup target add armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
BUILD
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 usinggit submodule update --init --recursive
- Build it using Android Studio or gradle script
BUILD WITH DOCKER
- Clone the repo using
git clone --recurse-submodules <repo>
or update submodules usinggit submodule update --init --recursive
- Run
docker run --rm -v ${PWD}:/build -w /build shadowsocks/android-ndk-go ./gradlew assembleDebug
CONTRIBUTING
If you are interested in contributing or getting involved with this project, please read the CONTRIBUTING page for more information. The page can be found here.
TRANSLATE
OPEN SOURCE LICENSES
- redsocks: APL 2.0
- libevent: BSD
- tun2socks: BSD
- shadowsocks-rust: MIT
- libsodium: ISC
- OpenSSL: OpenSSL License
LICENSE
Copyright (C) 2017 by Max Lv <max.c.lv@gmail.com>
Copyright (C) 2017 by Mygod Studio <contact-shadowsocks-android@mygod.be>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.