Process Before Publishing a ready Kivy App in Playstore?(在 Playstore 中发布现成的 Kivy 应用程序之前的流程?)
问题描述
我已经做了 buildozer android debug
并安装了 .apk
文件并且工作正常,至少测试了一/两个设备.这也是与半默认的buildozer.spec
,例如:域名仍然是org.test
,但与应用程序的名称进行了调整.
I already did buildozer android debug
and have the .apk
file installed and works fine, at least tested for one/two devices. This is also with the semi-default buildozer.spec
, for example : the domain name is still org.test
but with the name of the app is adjusted.
有了这个 .apk
文件(在 buildozer android debug
过程之后),是这是准备上传到 Playstore 的吗?或者有还有一些其他(技术)准备工作吗?
With this
.apk
file (afterbuildozer android debug
process), is this the one that is ready to be uploaded to playstore? or there is still some other (technical) preparations?
我知道我们可能会在公开之前先进行 beta 测试.这是我第一次编写一个打算发布它的应用程序.提前致谢.
I know that we may do beta test first before making it public. This is my first time coding an app with intention to publish it. Thanks in advance.
推荐答案
在上传到 Play 商店之前,您需要创建一个 release
版本的 apk 文件.debug
版本仅用于在您的手机上进行测试.要创建 release
版本并上传应用程序,您只需按照以下步骤操作.
1.创建密钥
You need to create a release
version of your apk file before uploading to the Play Store. The debug
version is just for testing on your phone. To create a release
version and upload the app, you just have to follow these steps.
1. Create a Key
$ mkdir ~/keystores/
$ keytool -genkey -v -keystore ~/keystores/<your-new-key>.keystore -alias <your-key-alias> -keyalg RSA -keysize 2048 -validity 10000
2.导出一些变量
2. Export some variables
$ export P4A_RELEASE_KEYSTORE=~/keystores/<your-new-key>.keystore
$ export P4A_RELEASE_KEYSTORE_PASSWD=android
$ export P4A_RELEASE_KEYALIAS_PASSWD=android
$ export P4A_RELEASE_KEYALIAS=<your-key-alias>
3.制作发布apk
$ cd <your-project-folder>
$ buildozer -v android release
4.最后优化一下
$ ~/.buildozer/android/platform/android-sdk-20/build-tools/23.0.1/zipalign -v 4 ./bin/Your-App-0.1-release.apk ./bin/Your-App-0.1-release-optimized.apk
这篇关于在 Playstore 中发布现成的 Kivy 应用程序之前的流程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 Playstore 中发布现成的 Kivy 应用程序之前的流程?
基础教程推荐
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01