Compile Booksonic App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd Downloads/ | |
git clone --recursive https://github.com/popeen/Booksonic-App.git | |
cd Booksonic-App/ | |
docker run --rm -v $(pwd):/project mingc/android-build-box bash -c 'cd /project; bash ./gradlew assembleRelease' | |
cp app/build/outputs/apk/floss/release/*.apk . | |
keytool -genkey -v -keystore release.keystore -alias Booksonic-release -keyalg RSA -keysize 2048 -validity 10000 | |
cd ~/Android/Sdk/build-tools/30.0.3/ | |
./zipalign -f -v 4 ~/Downloads/Booksonic-App/Booksonic\ 2009-floss-release-unsigned.apk ~/Downloads/Booksonic-App/Booksonic\ 2009-floss-release-aligned.apk | |
./apksigner sign --ks ~/Downloads/Booksonic-App/release.keystore --ks-key-alias Booksonic-release ~/Downloads/Booksonic-App/Booksonic\ 2009-floss-release-aligned.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment