buildozer android debug 编译卡死

 执行编译后卡死,修改命令为 buildozer -v android debug 输出日志,我这里是因为访问不到谷歌

root@debian:~/android/takepicture# buildozer android debug
# Check configuration tokens
Buildozer is running as root!
This is not recommended, and may lead to problems later.
Are you sure you want to continue [y/n]? y
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Install platform
# Apache ANT found at /root/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /root/.buildozer/android/platform/android-sdk-20
# Android NDK found at /root/.buildozer/android/platform/android-ndk-r9c

 

输出日志后,可以看到 是访问不到谷歌的网址。

Refresh Sources:
Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
Jan 25, 2018 12:19:57 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: I/O exception (java.net.SocketException) caught when connecting to the target host: Network is unreachable (connect failed)
Jan 25, 2018 12:19:57 AM org.apache.http.impl.client.DefaultRequestDirector tryConnect
INFO: Retrying connect

发表评论

您的电子邮箱地址不会被公开。