本文介绍了如何验证 Android apk 是否使用发布证书签名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何检查 Android apk 是否使用发行版而不是调试证书进行签名?

How can I check that an Android apk is signed with a release and not debug cert?

推荐答案

使用这个命令,(在 cmd 提示符下转到 java < jdk < bin path)

Use this command, (go to java < jdk < bin path in cmd prompt)

$ jarsigner -verify -verbose -certs my_application.apk

如果您看到CN=Android Debug",则表示 .apk 已使用 Android SDK 生成的调试密钥进行签名(意味着它是未签名的),否则你会为 CN 找到一些东西.有关更多详细信息,请参阅:http://developer.android.com/guide/publishing/app-signing.html

If you see "CN=Android Debug", this means the .apk was signed with the debug key generated by the Android SDK(means it is unsigned), otherwise you will find something for CN.For more details see: http://developer.android.com/guide/publishing/app-signing.html

这篇关于如何验证 Android apk 是否使用发布证书签名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 20:12