java.lang.Exception:密钥库文件不存在 [英] java.lang.Exception: Keystore file does not exist

查看:1137
本文介绍了java.lang.Exception:密钥库文件不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我是Android的新手,我试图在我的Android应用程序中使用Google Map API。

但是当我尝试执行时



keytool -list -v -keystore%USERPROFILE%\ .android \ debug.keystore-alias androiddebugkey -storepass android -keypass android



在我的控制台中使用java keytool生成SHA-1指纹。



我得到了错误消息

java.lang.Exception:密钥库文件不存在:〜/ .android / debug.keystore

at sun.security.tools.KeyTool.doCommands( KeyTool.java:738)

at sun.security.tools.KeyTool.run(KeyTool.java:340)

at sun.security.tools.KeyTool.main( KeyTool.java:333)



Plz帮我解决这个问题..



谢谢

解决方案

htt p://stackoverflow.com/questions/15319397/default-keystore-file-does-not-exist [ ^ ]



http://stackoverflow.com/questions/18913296/keytool-error-java-lang -exception-keystore-file-exists-but-empty-empty [ ^ ]


首先安装android SDK ....然后使用命令keytool进行处理

Hi all,

I'm new to android and I tried to get use of Google Map API to my android application.
But when I try to execute

keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

in my console to generate SHA-1 fingerprint using java keytool.

I got the error message
java.lang.Exception: Keystore file does not exist: ~/.android/debug.keystore
at sun.security.tools.KeyTool.doCommands(KeyTool.java:738)
at sun.security.tools.KeyTool.run(KeyTool.java:340)
at sun.security.tools.KeyTool.main(KeyTool.java:333)

Plz help me to solve this..

Thanks

解决方案

http://stackoverflow.com/questions/15319397/default-keystore-file-does-not-exist[^]

http://stackoverflow.com/questions/18913296/keytool-error-java-lang-exception-keystore-file-exists-but-is-empty[^]


first install android SDK....then procede with command keytool


这篇关于java.lang.Exception:密钥库文件不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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