在Playstore中发布准备就绪的Kivy App之前的流程? [英] Process Before Publishing a ready Kivy App in Playstore?

查看:137
本文介绍了在Playstore中发布准备就绪的Kivy App之前的流程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了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 (after buildozer 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商店之前,您需要创建APK文件的release版本. 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.最后,对其进行优化

4. Finally, optimize it

 $ ~/.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 App之前的流程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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