Resign apk with different keystore

后端 未结 4 1919
青春惊慌失措
青春惊慌失措 2021-02-01 19:09

Currently I\'m getting the apk signed with the private keystore file but I want to sign that apk with different keystore file. How can I resign that apk..?

4条回答
  •  执笔经年
    2021-02-01 20:01

    You can also use the open-source apk-resigner script, which is very easy to use.

    APK-resigner: https://github.com/onbiron/apk-resigner

    ./signapk.sh calculator.apk ~/.android/debug.keystore android androiddebugkey
    

    Also if you want to sign the APK with your debug key, you may use.

    ./signapk.sh calculator.apk 
    

提交回复
热议问题