我可以使用与附带的证书不同的证书重新签署 .apk 吗?

编程入门 行业动态 更新时间:2024-10-10 23:20:02
本文介绍了我可以使用与附带的证书不同的证书重新签署 .apk 吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

如果我有一个 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屋!

更多推荐

[db:关键词]

本文发布于:2023-04-18 02:42:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/928269.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:证书   可以使用   apk

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!