Buildozer试图编译一个简单的#34; hello world" kivy项目,但抛出一个错误

时间:2015-12-14 02:11:56

标签: android python python-2.7 kivy buildozer

在终端我打字:

$ buildozer android debug deploy

回溯错误:

Traceback (most recent call last):  
  File "/usr/local/bin/buildozer", line 9, in <module>  
    load_entry_point('buildozer==0.30', 'console_scripts', 'buildozer')()  
  File "/Library/Python/2.7/site-packages/buildozer/scripts/client.py", line 13, in main  
    Buildozer().run_command(sys.argv[1:])  
  File "/Library/Python/2.7/site-packages/buildozer/__init__.py", line 987, in run_command  
    self.target.run_commands(args)  
  File "/Library/Python/2.7/site-packages/buildozer/target.py", line 85, in run_commands  
    func(args)  
  File "/Library/Python/2.7/site-packages/buildozer/target.py", line 97, in cmd_debug  
    self.buildozer.build()  
  File "/Library/Python/2.7/site-packages/buildozer/__init__.py", line 195, in build  
    self.build_application()  
  File "/Library/Python/2.7/site-packages/buildozer/__init__.py", line 689, in build_application  
    self._copy_application_sources()  
  File "/Library/Python/2.7/site-packages/buildozer/__init__.py", line 774, in _copy_application_sources  
    copyfile(sfn, rfn)  
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shutil.py", line 82, in copyfile  
    with open(src, 'rb') as fsrc:  

我收到此错误:

IOError: [Errno 102] Operation not supported on socket: '/Users/myImac/Library/Application Support/Google/Chrome/App Shim Socket'

我在Imac&#34; El Capitan&#34; Python 2.7 / Kivy 1.9 / Cython 21.1。

1 个答案:

答案 0 :(得分:0)

我得到了同样的错误,我发现这是我的错误。

我没有在包含.spec文件的正确文件夹中执行 buildozer 。检查这是否适合你。