sign apk multiple times

来源:互联网 发布:如何修复网络连接 编辑:程序博客网 时间:2024/05/18 02:49

You definitely are able to sign an already signed apk multiple times using different keys.

E.g. I accomplished to sign a Debug-Apk with the release key so that I was able to test upgrades of released versions. Also, I was able to sign an already released apk with the debug key for reproducing bugs.

This is what you should do

  1. Rename the .apk file to .zip
  2. Unpack the .zip file and remove the META-INF folder
  3. Zip the folder again and rename it to .apk
  4. Sign the apk:

    jarsigner -keystore YourApp.apk -verbose

For the debug key, the alias should be "androiddebugkey" and the password "android"

原创粉丝点击