buldozer或sdkmanager Buildozer无法执行

2024-09-29 07:21:07 发布

您现在位置:Python中文网/ 问答频道 /正文

我试着在我的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

非常感谢您的帮助。我不知道该怎么办。谢谢。 这些是警告的结果吗?我该怎么做来修复它们


Tags: tologhomebinusrlocal错误module