Buildozer 未知命令/目标 android_old

Buildozer Unknown command/target android_old(Buildozer 未知命令/目标 android_old)
本文介绍了Buildozer 未知命令/目标 android_old的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我仍然在 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

How to target newer versions in .gitlab-ci.yml using auto devops (java 11 instead of 8 and Android 31 instead of 29)(如何在.gitlab-ci.yml中使用自动开发工具(Java 11而不是8,Android 31而不是29)瞄准较新的版本)
Android + coreLibraryDesugaring: which Java 11 APIs can I expect to work?(Android+core LibraryDesugering:我可以期待哪些Java 11API能够工作?)
How to render something in an if statement React Native(如何在If语句中呈现某些内容Reaction Native)
How can I sync two flatList scroll position in react native(如何在本机Reaction中同步两个平面列表滚动位置)
Using Firebase Firestore in offline only mode(在仅脱机模式下使用Firebase FiRestore)
Crash on Google Play Pre-Launch Report: java.lang.NoSuchMethodError(Google Play发布前崩溃报告:java.lang.NoSuchMethodError)