构建器问题.我尝试为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.
相关文章