本文介绍了构建器问题.我尝试为android制作apk文件,但我不能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!
问题描述
artur@DESKTOP-SMKQONQ:~/Suka$ ls
buildozer.spec main.py
artur@DESKTOP-SMKQONQ:~/Suka$ buildozer android debug
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-
packages/buildozer/scripts/client.py", line 13, in main
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-
packages/buildozer/__init__.py", line 122, in __init__
self.config.read(filename, "utf-8")
TypeError: read() takes exactly 2 arguments (3 given)
我不明白哪里错了.我完全安装了那里描述的所有 kivy 和 buildozer 软件包 https://github.com/kivy/buildozer.请帮帮我!
I dont understand what wrong. I completely install all the packages for kivy and buildozer which are described there https://github.com/kivy/buildozer. Help me please!
推荐答案
感谢 davedwards.我已经通过安装 buildozer 0.37 版解决了这个问题:
Thanks to davedwards. I`ve solved this problem by install buildozer version 0.37:
pip install --upgrade
https://github.com/kivy/buildozer/archive/6b004f9778a312fed6908bceef605e4ef8c1efe9.zip
其实是新版本buildozer的一个bug.
Actually, it is a bug with new version buildozer.
这篇关于构建器问题.我尝试为android制作apk文件,但我不能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!
本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!