Skip to content

Instantly share code, notes, and snippets.

@BlitzKraft
Created December 24, 2018 21:26
Show Gist options
  • Save BlitzKraft/e76132e86fcf6fd8fc3140a059a072f5 to your computer and use it in GitHub Desktop.
Save BlitzKraft/e76132e86fcf6fd8fc3140a059a072f5 to your computer and use it in GitHub Desktop.
export TERM=xterm-color
# set up android home and build the app
export ANDROID_HOME=/mnt/storage/gits/Android/ && gradle-3.4.1 build && \
# sign the apk using the keystore "my.keystore"
/mnt/storage/AndroidSDK/build-tools/25.0.2/apksigner sign --ks my.keystore app/build/outputs/apk/app-release-unsigned.apk && \
# uninstall existing app
# adb uninstall com.serwylo.lexica && \
# install the new version
# adb install app/build/outputs/apk/app-release-unsigned.apk && \
echo "All done. Nothing left to do baby!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment