我不记得我的 android debug.keystore 密码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12456491/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 10:42:35  来源:igfitidea点击:

I don't remember my android debug.keystore password

androidandroid-keystore

提问by John Error

How can i see my debug.keystore password? I entered my password 3 or 4 month ago and now i don't remember.

如何查看我的 debug.keystore 密码?我在 3 或 4 个月前输入了密码,现在我不记得了。

If it is impossible, how can i create new debug.keystore?

如果不可能,我如何创建新的 debug.keystore?

回答by Asaf Nevo

Usually the debug.keystorepassword is just "android".

通常debug.keystore密码只是“ android”。

You can delete it and Eclipse will automatically generate a new one, as described here.

你可以删除它,Eclipse会自动生成一个新的,描述在这里

回答by Hassan Saeed

The Default Configuration of debug.keystore file:

debug.keystore 文件的默认配置:

Keystore name: "debug.keystore"
Keystore password: "android"
Key alias: "androiddebugkey"
Key password: "android"
CN: "CN=Android Debug,O=Android,C=US"

where is this file located?

这个文件在哪里?

For Windows User: C:\Users\username.android\debug.keystore

对于 Windows 用户:C:\Users\username.android\debug.keystore

For Mac OS User: ~/.android/debug.keystore

Mac OS 用户:~/.android/debug.keystore

After you will get SHAH1 by below command using Command Prompt:

使用命令提示符通过以下命令获取 SHAH1 后:

keytool -list -v -keystore "C:\Users\username.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

keytool -list -v -keystore "C:\Users\username.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android

Note :above answer has just information of android studio default configuration to access debug.keystore(debug certificate) file you can make you custom certificate if you want you own password and configuration.

注意:上面的答案只有 android studio 默认配置的信息来访问 debug.keystore(debug certificate) 文件,如果您想要自己的密码和配置,您可以制作自定义证书。

回答by Hassan Saeed

Again you can generate your google api key. Your .keystore file will be, In Eclipse, Windows -> preferences ->Android -> build ->default debug keystore path will be there. You just use that .keystore and generate your api key again by using this link:

您可以再次生成您的 google api 密钥。您的 .keystore 文件将是,在 Eclipse 中,Windows -> 首选项 -> Android -> 构建 -> 默认调试密钥库路径将在那里。您只需使用该 .keystore 并使用此链接再次生成您的 api 密钥:

http://lokeshatandroid.blogspot.in/2012/05/obtaining-google-maps-api-key.html

http://lokeshatandroid.blogspot.in/2012/05/obtaining-google-maps-api-key.html

回答by Vlad

If you are not certain that the password has been set before, try just empty password. It worked for me.

如果您不确定之前是否设置过密码,请尝试使用空密码。它对我有用。