buldozer或sdkmanager Buildozer无法执行

时间:2019-12-21 10:56:22

标签: python android linux sdk buildozer

我尝试在Linux上运行buildozer,以使用python-kivy创建一个应用程序。我收到此错误:

首先,我有以下警告:

Warning: File /home/kouhi/.android/repositories.cfg could not be loaded.        
Warning: Failed to download any source lists!                                   
Warning: Failed to find package tools

然后出现这些错误:

# ENVIRONMENT:
#     XDG_SEAT = 'seat0'
#     QT4_IM_MODULE = 'xim'
#     XDG_CONFIG_DIRS = '/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg'
#     SHELL = '/bin/bash'
#     XDG_SESSION_PATH = '/org/freedesktop/DisplayManager/Session0'
#     PATH = '/home/kouhi/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/kouhi/bin:/home/kouhi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'
#     DISPLAY = ':0'

中间有很多错误,最后我有:

#     LC_NUMERIC = 'fa_IR'
#     VTE_VERSION = '4205'
#     SSH_AUTH_SOCK = '/run/user/1000/keyring/ssh'
#     TERM = 'xterm-256color'
#     QT_LINUX_ACCESSIBILITY_ALWAYS_ON = '1'
#     QT_IM_MODULE = 'ibus'
#     WINDOWID = '92275921'
#     GDMSESSION = 'ubuntu'
#     INSTANCE = ''
#     QT_ACCESSIBILITY = '1'
#     GTK_IM_MODULE = 'ibus'
#     XMODIFIERS = '@im=ibus'
#     LC_NAME = 'fa_IR'
#     LC_MONETARY = 'fa_IR'
# 
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

非常感谢您提供任何帮助。我不知道该怎么做。谢谢。 这些是警告的结果吗?我该怎么做才能解决它们?

0 个答案:

没有答案