Sign Android App Bundle from Command Line

后端 未结 2 607
粉色の甜心
粉色の甜心 2021-02-08 01:15

anyone know how to sign .aab file using new keystore from command line? The documentation here mentions that we can use jarsigner to sign our app bundle from the command line. b

2条回答
  •  你的背包
    2021-02-08 01:25

    Probably you've already found a way to solve your problem. Nevertheless, since it may help someone in the future, I just wanted to say that I had the same problem and changing the hashing algorithm to SHA-256 helped me to overcome it.

    jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore xample.jks bundle.aab keystoreAlias

提交回复
热议问题