当我尝试在Buildozer的VM版本中编译我的APK时,我收到此错误。
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 11, in <module>
load_entry_point('buildozer==0.33', 'console_scripts', 'buildozer')()
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 1058, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 91, in run_commands
func(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 101, in cmd_debug
self.buildozer.prepare_for_build()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 176, in prepare_for_build
self.target.install_platform()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 470, in install_platform
self._install_android_packages()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 407, in _install_android_packages
packages = self._android_list_sdk()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 336, in _android_list_sdk
for x in available_packages.splitlines()
AttributeError: 'NoneType' object has no attribute 'splitlines'
我在任何与此问题相关的问题都没有找到答案。谢谢你的帮助。