我知道目前没有办法使用windows为android打包一个kivy应用程序,所以我下载了一个Linux虚拟机.但是然后呢?我还没有为初学者找到一个很好的分步教程来解释整个过程.
I understand that currently there is no way to package a kivy app for android using windows, so I have downloaded a Linux virtual machine. But then what? I haven't found a good step-by-step tutorial for beginners explaining the whole process.
我是否应该将 Python、PyCharm、Kivy 等下载到虚拟机中,并将所有应用程序文件复制到其中?如果是这样,那之后的下一步是什么?很抱歉这么无知,但我是编码和应用程序开发的新手,主要从在线教程中学习.任何意见是极大的赞赏!
Am I supposed to download Python, PyCharm, Kivy, etc. into the virtual machine, and also copy the all the app files into it? And if so, what's the next step after that? Sorry to be so clueless, but I'm new to coding and app development, and learning mostly from online tutorials. Any advice is greatly appreciated!
您可以通过以下操作在 Windows 上打包 Kivy Apps for Android:
You can package Kivy Apps for Android on Windows by doing the following:
buildozer init 以创建 buildozer.spec 文件.buildozer android debug deploy runbuildozer init to create buildozer.spec file.buildozer android debug deploy run这篇关于Python/Kivy 应用程序到 Windows 上的 apk - 安装虚拟机后该怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!
使用 GPS 获取用户的当前位置Get user#39;s current location using GPS(使用 GPS 获取用户的当前位置)
requestLocationUpdate() 抛出的 IllegalArgumentExceptionIllegalArgumentException thrown by requestLocationUpdate()(requestLocationUpdate() 抛出的 IllegalArgumentException)
LocationManager 的 getLastKnownLocation 有多可靠,多久更How reliable is LocationManager#39;s getLastKnownLocation and how often is it updated?(LocationManager 的 getLastKnownLocation 有多可靠,多久更新
如何检测位置提供者?GPS 或网络提供商How to detect Location Provider ? GPS or Network Provider(如何检测位置提供者?GPS 或网络提供商)
在应用启动期间获取当前位置Get current location during app launch(在应用启动期间获取当前位置)
locationManager.getLastKnownLocation() 返回 nulllocationManager.getLastKnownLocation() return null(locationManager.getLastKnownLocation() 返回 null)