Buildozer问题。我尝试为Android制作APK文件,但我无法

时间:2019-01-16 00:24:51

标签: python kivy buildozer

    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)

我不明白怎么了。我完全安装了https://github.com/kivy/buildozer中描述的所有用于kivy和buildozer的软件包。请帮帮我!

1 个答案:

答案 0 :(得分:0)

多亏了davedwards。我已经通过安装buildozer版本0.37解决了这个问题:

pip install --upgrade 
https://github.com/kivy/buildozer/archive/6b004f9778a312fed6908bceef605e4ef8c1efe9.zip

实际上,这是新版本buildozer的错误。