Can't get SHA-1 fingerprint from signature.jks

冷暖自知 提交于 2019-12-25 07:11:07

问题


i have a huge problem: i don't know how to get the SHA-1 fingerprint from the file that i use to sign my app. Let's assume that my jks file (generated from Android Studio) is named "signature.jks". How can i get the SHA-1 fingerprint?

I tried with this syntax:

C:\Program Files\Java\jdk1.7.0\bin>keytool -list -v -keystore E:\apkname.keystore -alias apkname

Where "apkname" is the name of the apk and "E" is the disk where my jks file is stored.

Unfortunately it doesn't work. Can someone help me?


回答1:


Ok, sorry everybody, problem solved, i have typed the wrong path to my keystore file(the file with .jks extension), and after "-alias" i put the name of the apk instead the name of the alias, so the correct syntax was:

keytool -list -v -keystore C:\signature.jks -alias aliasName


来源:https://stackoverflow.com/questions/31103109/cant-get-sha-1-fingerprint-from-signature-jks

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