Some tips compile ss-android on ubuntu


#1


echo "export ANDROID_HOME=/home/user/.android/android-sdk-linux " >>~/.bashrc
echo “export ANDROID_NDK_HOME=/home/user/.android/android-sdk-linux/ndk-bundle” >>~/.bashrc
source ~/.bashrc
./gradlew build

BUILD SUCCESSFUL
200 actionable tasks: 169 executed, 31 up-to-date
AAPT2 aapt2-3.2.0-beta05-4818971-linux Daemon #2: shutdown

user@user-pc:~/shadowsocks-android$ ls build
intermediates kotlin
user@user-pc:~/shadowsocks-android$ find . -name *.apk
./mobile/build/outputs/apk/debug/mobile-armeabi-v7a-debug.apk
./mobile/build/outputs/apk/debug/mobile-arm64-v8a-debug.apk
./mobile/build/outputs/apk/debug/mobile-universal-debug.apk
./mobile/build/outputs/apk/debug/mobile-x86-debug.apk
./mobile/build/outputs/apk/release/mobile-x86-release-unsigned.apk
./mobile/build/outputs/apk/release/mobile-arm64-v8a-release-unsigned.apk
./mobile/build/outputs/apk/release/mobile-armeabi-v7a-release-unsigned.apk
./mobile/build/outputs/apk/release/mobile-universal-release-unsigned.apk