Buildozer Problem. I try to make apk file for android, but i cant

微笑、不失礼 提交于 2019-12-10 12:19:17

问题


    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)

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!


回答1:


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

Actually, it is a bug with new version buildozer.



来源:https://stackoverflow.com/questions/54208752/buildozer-problem-i-try-to-make-apk-file-for-android-but-i-cant

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!