How to know file .apk use to the keystore to sign?

你说的曾经没有我的故事 提交于 2019-12-22 04:42:55

问题


I have a keystore and a apk. is there a tool or a method to check file apk, signed from this keystore? I use Eclipse. Someome help me please. Thanks so much


回答1:


Use jarsigner tool:

jarsigner -verify -verbose -keystore keystore_file apk_file.apk

This command gives output like this:

smk 22401 Tue Aug 30 10:20:52 SAMST 2011 res/drawable/about_cover.png
smk 1206 Tue Aug 30 10:20:52 SAMST 2011 res/drawable/add_normal.png
smk 1430 Tue Aug 30 10:20:52 SAMST 2011 res/drawable/app_icon.png
smk 133 Tue Aug 30 10:20:52 SAMST 2011 res/drawable/background_next_section.png

s = signature was verified
m = entry is listed in manifest
k = at least one certificate was found in keystore



来源:https://stackoverflow.com/questions/7268828/how-to-know-file-apk-use-to-the-keystore-to-sign

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!