User Tools

Site Tools


wiki:sign_android_apk_terminal

This is an old revision of the document!


Sign android apk from terminal

This was used for signing an apk built with buildozer and made with kivy.

Create certificate

keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Sign the apk

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore my_application.apk alias_name

Tested on

  • Xubuntu 20.04.1
  • Buildozer 1.2.0
  • kivy 2.0.0

References

wiki/sign_android_apk_terminal.1611071762.txt.gz · Last modified: 2021/01/19 16:56 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki