Skip to content

mmd-team/shadowsocks-android

 
 

Repository files navigation

Shadowsocks for Android

Build Status API Releases Language: Kotlin Codacy Badge License: GPL v3

for Android & Chrome OS
for Android TV

PREREQUISITES

  • JDK 1.8
  • Go 1.11+
  • Android SDK
    • Android NDK r19+

BUILD

You can check whether the latest commit builds under UNIX environment by checking Travis status. Building on Windows is also possible since #1570, but probably painful. Further contributions regarding building on Windows are also welcome.

  • Set environment variable ANDROID_HOME to /path/to/android-sdk
  • (optional) Set environment variable ANDROID_NDK_HOME to /path/to/android-ndk (default: $ANDROID_HOME/ndk-bundle)
  • 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 WITH DOCKER

mkdir build
sudo chown 3434:3434 build
docker run --rm -v ${PWD}/build:/build shadowsocks/shadowsocks-android:circleci bash -c "cd /build; git clone https://github.com/shadowsocks/shadowsocks-android; cd shadowsocks-android; git submodule update --init --recursive; ./gradlew assembleDebug"

OPEN SOURCE LICENSES

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/.

About

A shadowsocks client for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 84.4%
  • C 8.0%
  • Makefile 3.4%
  • Batchfile 0.7%
  • Python 0.7%
  • Shell 0.7%
  • Other 2.1%