android 编译 电脑卡,buildozer android debug 编译卡死

执行Android编译后电脑卡死,将命令修改为buildozer -v android debug输出日志,发现问题是无法访问谷歌网址。如在获取https://dl-ssl.google.com/android/repository/addons_list-2.xml时,出现网络连接失败的提示。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

执行编译后卡死,修改命令为 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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值