如何检索密钥别名和密钥密码在Android Studio中签署的APK(从Eclipse中迁移) [英] How to retrieve Key Alias and Key Password for signed APK in android studio(migrated from Eclipse)
问题描述
我目前公布在谷歌Play的Android应用程序,我定期更新。我按照以下流程签署前应用新推:
I have an android app currently published in Google Play which I update periodically. I follow the following process to sign the app before a new push:
preSS该项目鼠标右键,在Android的工具 - >出口签名的应用程序包
提供密钥库密码
登录您的应用程序
上传apk文件到谷歌Play开发者控制台
Press right-mouse on the project, the 'Android tools' -> export signed application package Provide keystore password Sign your app Upload the apk file into Google Play Developer Console
最近,我已汇入的Eclipse到Android Studio中的项目,并继续致力于Android的工作室。现在,我计划在应用程序推修复。我想通,我有这个选项登录安卓APK工作室
Recently I have imported the project from Eclipse to Android Studio and continued working on Android Studio. Now I am planning to push a fix in the app. I have figured that I have this option to sign apk in android studio
构建 - >生成签名的apk - >
Build -> Generate Signed apk ->
按我的理解,我的Android应用我必须使用我先前用于推送更新到谷歌播放相同的密钥存储和密钥存储密码。另外这里它要求密钥别名和密钥密码。我不记得密钥别名和密钥密码(图中4号输入),而在Eclipse中签署的apk。任何建议我能怎么办呢?如果我已经知道我的密钥库和密钥库的密码,有没有检索密钥别名和别名密钥密码的方法吗?
As per my understanding, for my android app I have to use the same key store and key store password which I used earlier to push updates into Google Play. Also here it's asking for Key Alias and Key Password. I don't remember the Key Alias and Key password(number 4 input in the image) while signing apk in Eclipse. Any suggestion what can I do now? If I already know my keystore and keystore password, is there an way to retrieve the key alias and alias key password?
更新:现在我可以通过密钥工具-list -v -keystore name.keystore命令找回我的密钥别名
Update: Now I can retrieve my key alias through keytool -list -v -keystore name.keystore command
推荐答案
我终于可以计算的问题了。
I finally could figure the issue out.
拿到钥匙别名:我复制了keytool.exe的和我的密钥存储文件到C:\\ Program Files文件\\的Java \\ jdk1.7.0_71 \\ bin文件夹。然后,从命令提示符我写:的keytool -list -v -keystore<名称>的.keystore
它也将要求存储密码即可。然后,它会告诉你的密钥别名和证书指纹等信息。
To get the Key Alias: I copied the keytool.exe and my keystore file into C:\Program Files\Java\jdk1.7.0_71\bin folder. Then from command prompt I wrote: keytool -list -v -keystore <name>.keystore
It will also ask for keystore password then. Then it will show you the key alias and Certificate fingerprints and other info.
然后我又试了一次,生成签名的.apk项目,我提供密钥库,密钥库密码,密钥别名,以及所提供的相同的密码。然后,它要求主密码,我试着用同样的,它失败了。随着重置选项重置这里的主密码。
Then I again tried to Generate Signed Apk for the project, I provided keystore, keystore password, key alias and provided the same password. Then it asks for master password, I tried with the same and it failed. With the reset option I reset the master password here.
这篇关于如何检索密钥别名和密钥密码在Android Studio中签署的APK(从Eclipse中迁移)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!