shadowsocks-android-build
编译按照github readme即可. 1.编译下载依赖速度很慢 2.出现一些日志error不要害怕
编译需要的工具 JDK SBT(scal编译使用) Go Andorid SDK
- Build Tools 26+
- Android Support Repository and Google Repository (see
build.sbtfor version) - Android NDK r16+
PREREQUISITES
- JDK 1.8
- SBT 0.13.0+
- Go 1.4+
- Android SDK
- Build Tools 26+
- Android Support Repository and Google Repository (see
build.sbtfor version) - Android NDK r16+
BUILD
- Set environment variable
ANDROID_HOMEto/path/to/android-sdk - (optional) Set environment variable
ANDROID_NDK_HOMEto/path/to/android-ndk(default:$ANDROID_HOME/ndk-bundle) - Set environment variable
GOROOT_BOOTSTRAPto/path/to/go - Create your key following the instructions at https://developer.android.com/studio/publish/app-signing.html
- Create
mobile/local.propertiesfrommobile/local.properties.examplewith your own key information - Invoke the building like this
git submodule update --init --recursive
# Build the App
sbt clean go-build android:package-release
Enjoy Reading This Article?
Here are some more articles you might like to read next: