我可以使用与附带的证书不同的证书重新签署 .apk 吗? [英] Can I re-sign an .apk with a different certificate than what it came with?

查看:23
本文介绍了我可以使用与附带的证书不同的证书重新签署 .apk 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我有一个 apk,我可以删除当前的签名,以及如何使用不同的 .keystore 文件重新签名并仍然安装应用程序吗?

更新:我设法让它与 Jorgesys 的解决方案一起使用,我之前搞砸的地方是我解压缩了 .apk,然后在删除 META-INF 文件夹并更改文件后重新压缩它扩展回.apk.我应该做的只是用winzip打开它并删除winzip里面的文件夹.

解决方案

试试这个

<块引用>

1) 将 .apk 的扩展名更改为 .zip

2) 打开并删除文件夹 META-INF

3) 将扩展名更改为 .apk

4) 使用 jarsigner 和 zipalign 与您的新密钥库.

希望能帮到你

If I have an apk can I remove the current signing and some how re-sign it with a different .keystore file and still have the application install?

Update: I managed to get it to work with Jorgesys' solution and where I messed up before was that I unzipped the .apk then rezipped it after removing the META-INF folder and changed the file extension back into .apk. What I should have done is simply opened it with winzip and delete the folder inside of winzip.

解决方案

try this

1) Change the extension of your .apk to .zip

2) Open and remove the folder META-INF

3) Change the extension to .apk

4) Use the jarsigner and zipalign with your new keystore.

hope it helps

这篇关于我可以使用与附带的证书不同的证书重新签署 .apk 吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆