Compile the shadowsocks-android project

I bought the ss account before, the annual cost is about 300 RMB, and the service is relatively stable. Until today, the service is about to expire, and I plan to create a server myself. I tried it and the server is still stable. Youtube 720p is basically no problem. Since the third-party download ss Android client program has annoying advertisements, I took this opportunity to compile an Android client program with no advertisements and its own default account to share with friends.

github https://github.com/fanfq/shadowsocks-android

quote
PREREQUISITES

JDK 1.8
SBT 0.13.0+
Go 1.4+
Android SDK
Build Tools 25+
Android Support Repository and Google Repository (see build.sbt for version)
Android NDK r12b+
BUILD

Set environment variable ANDROID_HOME to /path/to/android-sdk
Set environment variable ANDROID_NDK_HOME to /path/to/android-ndk
Set environment variable GOROOT_BOOTSTRAP to /path/to/go
Create your key following the instructions at https://developer.android.com/studio/publish/app-signing.html
Create local.properties from local.properties.example with your own key information
Invoke the building like this
    git submodule update --init

    # Build the App
    sbt native-build clean android:package-release




This step of git submodule update --init wastes a long time, and I even want to give up. I left it there for 2 or 3 days and it was done.
The main problem is tangled in the git ss proxy configuration problem, which was later solved. The premise is that the ss agent has been installed on the computer.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326451231&siteId=291194637