Skip to content

Instantly share code, notes, and snippets.

Last active February 2, 2021 21:23
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Compile Booksonic App
cd Downloads/
git clone --recursive
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