Android Studio中的密钥存储路径是什么? [英] What is a key store path in Android Studio?

查看:86
本文介绍了Android Studio中的密钥存储路径是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚使用Buildbox创建了我的第一个游戏,我正尝试将其上传到Google Play商店.显然,我必须使用Android Studio将游戏文件转换为APK.到目前为止,我知道如何打开它并选择"Generatesigned APK"(生成已签名的APK)或类似的东西,但是随后我得到了这样的屏幕.我几乎没有任何相关知识,因此我应该创建一个新的密钥存储路径吗?我已经有一个吗?我该怎么办?

I just created my first game using Buildbox and I am trying to upload it to the Google Play Store. Apparently, I have to use Android Studio to turn the game file into an APK. So far, I know how to open it and select "Generate signed APK" or something along those lines, but then I am given a screen like this. I have virtually no prior knowledge of any of this, so am I supposed to create a new key store path? Do I already have one? How do I do it?

任何提示都值得赞赏:)

Any tips are appreciated :)

推荐答案

密钥库路径是应在其中创建密钥库的位置.

Key Store Path is the location where your keystore should be created.

如果您是第一次创建要在Play商店中发行的apk,则必须选择创建新..." ketstore路径,在该路径中,您将被提升到新窗口,您可以在其中填写详细信息:

If you are creating an apk for first time to release in play store, you have to select 'Create New...' ketstore path, where in which you will be promoted to a new window where you can fill in the details:

密钥库路径:选择系统中的路径(在任何驱动器中创建路径,例如:* F:\ AndroidKeys *)为密钥(例如:game)命名.并带有项目的特定名称( F:\ AndroidKeys \ game.jks ).

KeyStore path : select a path in your system (Create a path in any drive eg: *F:\AndroidKeys*)give a name to your key(eg:game).save in here with the specific name for your project (F:\AndroidKeys\game.jks).

密码**:输入一些新密码并确认(不要忘记).

Password**: Give some new password and confirm it(Don't forget).

别名:输入密钥的标识名.

Alias : Enter an identifying name for your key.

密码:创建并确认密钥的安全密码.这应该与您为密钥库选择的密码不同.

Password : Create and confirm a secure password for your key. This should be different from the password you chose for your keystore.

有效期:选择密钥有效期的时间段.

Validity: select time period for validity of key.

证书:输入一些有关您自己或组织的信息(例如姓名,..).完成了新的密钥生成.

Certificate: Enter some information about yourself or organization (like name,..). Done with new key generation.

现在在您提到的屏幕上,选择路径,密钥库密码,密钥别名,密钥密码(将在第一次生成密钥时自动填写).单击下一步-根据情况选择构建版本(调试或发行版)发行版,选择签名版本-完成.

Now on the screen you mentioned select the path, key store password,key alias,key password(will be auto filled at first key generation). click next -- select build variants(debug or release) release in your case, select the signature versions-- finish .

您可以在项目的app \ release文件夹中找到您的发行版APK.

You can find your release apk in app\release folder of your project.

注意:请记住,密钥和密码与应用程序的将来更新版本相同.请参考官方android开发人员网站以获取任何参考: https://developer.android.com/studio/publish/app-signing

Note: Please do remember the key and the password it should be same for the future update release of your application. Refer official android developer site for any referece: https://developer.android.com/studio/publish/app-signing

希望这会有所帮助.

这篇关于Android Studio中的密钥存储路径是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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