命令失败:tar xzf android-sdk_r20-linux.tgz

Ali*_*aki 6 python android kivy buildozer

我试图构建kivy应用程序到Android并得到此错误

# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Install platform
# Apache ANT found at /home/ali/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK is missing, downloading
# Unpacking Android SDK
# Command failed: tar xzf android-sdk_r20-linux.tgz
# 
# Buildozer failed to execute the last command
# If the error is not obvious, please raise the log_level to 2
# and retry the latest command.
# In case of a bug report, please add a full log with log_level = 2
Run Code Online (Sandbox Code Playgroud)

命令

$ buildozer android_new debug
Run Code Online (Sandbox Code Playgroud)

日志:http: //paste.ubuntu.com/20850804/

想要任何细节?请求在评论中

Ali*_*aki 2

我想到了!

问题是由于美国对我的国家(苏丹)实施制裁,一些谷歌服务在我居住的地方不可用,并且返回的响应是 html(不是 gzip 格式)。

解决方案是使用VPN。