Sign APK and Zipalign - Sealed APK can't be installed on device

(1) Keystore signing and (2) Zipalign is required after Sealing.

  1. Sign APK with JarSigner or ApkSigner:
    • Signing with JarSigner
      • jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore [KEY STORE FILE] [APK FILE] [ALIAS]
    • Signing with ApkSigner
      • apksigner sign --ks [KEY_STORE_FILE] --ks-key-alias [ALIAS] [APK_FILE]
      • WARNING! The v1 version signing is required to apply AppSealing. 
  2. Align zip file using Zipalign
    • zipalign -v 4 [APK_FILE] [ZIPALIGNED_OUTPUT_APK_FILE]
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request
comment section

0 Comments

Article is closed for comments.