生成签署APK安卓工作室 [英] Generate signed apk android studio

查看:166
本文介绍了生成签署APK安卓工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新android开发和刚刚完成我的第一个应用程序。我想生成机器人工作室签署的apk。我读了开发文档,但无法理解的步骤。当我点击构建与GT;生成签名APK ... ,它显示了我一个对话框,要求如下:

I am new to android development and just finished my first app. I want to generate a signed apk in android studio. I read the developer docs but couldn't understand the steps. When I click on Build>Generate Signed APK..., it shows me a dialog box asking the following:

Keystore path  //with two options create new and choose existing
Keystore password
Key alias
key password

我不明白什么是密钥库,即使谷歌搜索后。当我选择新建为什么要让我选择的道路,并找到 .jks 文件,该文件我没有!任何人都可以请说明,并列出,以便产生一个签名的apk的步骤。

I don't get what is keystore even after googling it. When I choose create new it asks me to select a path and locate a .jks file which I don't have! Can anyone please explain and list the steps in order to generate a signed apk.

推荐答案

使用keytool二进制或exe文件生成一个专用密钥存储器。 说明这里。然后,您可以使用该密钥库签署您的应用程序。密钥工具会在你安装Java安装。

Use Keytool binary or exe to generate a private keystore. Instructions here. You can then sign your app using this keystore. Keytool gets installed when you install Java.

注:保存/备份此密钥库,因为一旦你用这个密钥库签署它玩发布的应用程序,你将不得不使用相同的密钥库的任何未来的更新。因此,重要的是你支持它是非常重要的。

NOTE: Save/backup this keystore because once you publish an app on play by signing it with this keystore, you will have to use the same keystore for any future updates. So, it's important that you back it up.

HTH。

这篇关于生成签署APK安卓工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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