apksigner not accepting password

前端 未结 5 1187
无人及你
无人及你 2021-02-19 03:09

Up until now I had been signing my apks with the following method:

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore {keystore-file} {apk-file} {key

5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-19 03:37

    I cannot vote/comment yet, but +1 for max's fix:

    ./apksigner sign --ks test.jks --ks-key-alias test --ks-pass pass:testtest --key-pass pass:testtest Test_Aligned.apk
    

    Prefixing my passwords with "pass:" worked for me

    --ks-pass pass:MyPassword
    --key-pass pass:MyPassword
    

提交回复
热议问题