1

在终端上我输入这个:

$ 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 “El Capitan” Python 2.7/Kivy 1.9/Cython 21.1 上。

4

1 回答 1

0

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

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

于 2016-01-12T18:12:44.580 回答