我仍然在 python 和 kivy 中非常菜鸟.
im very noob still in python and kivy.
无论如何,我正在制作一个简单的 Android 应用程序,它只显示一个标签.现在我正在尝试通过 buildozer 将该 python 文件打包到 apk.buildozer init
工作,但随后 buildozer -v android debug
没有并给出错误 Unknown command/target android_old
.
Anyways, I'm making a simple android app, which just showing a single label.
Now I'm trying to package that python file to an apk via buildozer.
The buildozer init
works, but then the buildozer -v android debug
doesnt and give an error Unknown command/target android_old
.
谁能帮我解决这个问题?谢谢
Anyone can help me resolve this? Thanks
我知道现在回答这个问题为时已晚,但我也遇到了同样的问题,因为我也是这个领域的新手.buildozer好像不兼容windows,可以用Google Colab代替.
I know it is too late to answer this question but I had the same problem since I am new to this field too. It seems that buildozer is not compatible with windows, instead you can use Google Colab.
Google Colab 提供 CPU 来运行您的 python 代码,它是基于 Ubuntu 的.
Google Colab provides CPU to run your python code and it is Ubuntu based.
请参考以下链接在 Google Colab 上运行您的代码https://towardsdatascience.com/3-ways-to-convert-python-app-into-apk-77f4c9cd55af
Refer the following link to run your code on Google Colab https://towardsdatascience.com/3-ways-to-convert-python-app-into-apk-77f4c9cd55af
这篇关于Buildozer 未知命令/目标 android_old的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!