2016-04-15 58 views
0

我試圖在虛擬機中使用buildozer構建一個簡單的python3/kivy應用程序的apk,我從kivy.org直接獲取,這是day2。我有很多錯誤,安裝了pip,更新了buildozer,pip安裝了morse,pnglab,sh,appdirs,py3的setuptools,現在我在寫這個錯誤時寫了$ buildozer android debug,我的虛擬機使用python 2.7和3.4,知道這是關於什麼的?我會非常讚賞一個答案,因爲我打算有一天讓我的工作成爲機器人開發,謝謝。這是錯誤:AttributeError的:「海峽」對象有沒有屬性「解碼」Kivy Buildozer AttributeError:'str'對象沒有屬性'decode'

而且回溯:

Traceback (most recent call last): 
File "/usr/local/bin/buildozer", line 9, in <module> load_entry_point('buildozer==0.32dev', 'console_scripts', 'buildozer')() 
File "/usr/local/lib/python3.4/dist-packages/buildozer-0.32dev-py3.4.eg /buildozer/scripts/client.py", line 13, in main 
Buildozer().run_command(sys.argv[1:]) 
File "/usr/local/lib/python3.4/dist-packages/buildozer-0.32dev-py3.4.egg/buildozer/__init__.py", line 992, in run_command 
self.target.run_commands(args) 
File "/usr/local/lib/python3.4/dist-packages/buildozer-0.32dev-py3.4.egg/buildozer/target.py", line 85, in run_commands 
func(args) 
File "/usr/local/lib/python3.4/dist-packages/buildozer-0.32dev-py3.4.egg/buildozer/target.py", line 97, in cmd_debug 
self.buildozer.build() 
File "/usr/local/lib/python3.4/dist-packages/buildozer-0.32dev-py3.4.egg/buildozer/__init__.py", line 198, in build 
self.target.build_package() 
File "/usr/local/lib/python3.4/dist-packages/buildozer-0.32dev-py3.4.egg/buildozer/targets/android.py", line 747, in build_package 
apktitle = ''.join([x for x in config.get('app', 'title').decode('utf-8') 

AttributeError的:「海峽」對象有沒有屬性「解碼」

回答

0

這看起來像建築商中的錯誤。你可以通過使用python2來解決它。隨意在buildozer的github頁面上創建一個關於它的問題。

相關問題