剑痴乎

  • 首页
  • 文章分类
    • 音视频
    • WebRTC
    • 编程之美
    • Linux
    • Windows
    • 生活点滴
    • 校园生活
  • 参考
    • API参考
    • 实用工具
    • 测试音视频
    • 文档
  • 留言板
  • 关于
剑痴乎
代码为剑,如痴如醉
  1. 首页
  2. WebRTC
  3. 正文

WebRTC安卓Native code编译下载失败问题

2020年3月23日 2157点热度 1人点赞 0条评论

记录下今天编译WebRTC 安卓Native code遇到的一个问题。相关错误提示如下:

1
2
3
4
5
6
7
8
9
root@ubuntu:~/webrtc# gclient sync
Running depot tools as root is sad.
Syncing projects: 100% (258/258), done.                                                                                                        
Running hooks:  21% ( 5/23) sysroot_x86                  
________ running 'vpython src/build/linux/sysroot_scripts/install-sysroot.py --arch=i386' in '/root/webrtc'
Installing Debian sid i386 root image: /root/webrtc/src/build/linux/debian_sid_i386-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/e954fb79fcddf64bc39d721c9a5b652b6da549fa/debian_sid_i386_sysroot.tar.xz
Failed to download https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/e954fb79fcddf64bc39d721c9a5b652b6da549fa/debian_sid_i386_sysroot.tar.xz
Error: Command 'vpython src/build/linux/sysroot_scripts/install-sysroot.py --arch=i386' returned non-zero exit status 1 in /root/webrtc

执行gclient sync命令后过一会儿报Failed to download错误,我用浏览器或者wget命令去下载一点问题都没。之前都没遇到过这问题。谷歌搜了下,发现有人遇到过类似问题,还都是国人,问题出在代理上,在有些代理环境下,gclient sync下的某些命令连接会失败。以前用SS(IP封得太厉害放弃了现在)就没遇到过,现在用的VPN走全局就遇到了,但是用其他方式是可以正常访问下载链接的。

后来换到国外的VPS上编译,一点问题都没。所以想顺利编译WebRTC安卓源码或Linux源码的话,最好买个国外的VPS编译,时间就是生命。

本作品采用 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 进行许可
标签: WebRTC
最后更新:2020年3月23日

Jeff

管理员——代码为剑,如痴如醉

打赏 点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

版权声明

为支持原创,创作更好的文章,未经许可,禁止任何形式的转载与抄袭,如需转载请邮件私信!本人保留所有法定权利。违者必究!

最近评论
ztt 发布于 3 周前(04月05日) 你好,想看里面的视频和图片为什么没有显示呢?需要下flash吗还是什么。
huowa222 发布于 1 个月前(03月26日) 同问
邱国禄 发布于 2 个月前(02月17日) Receive Delta以0.25ms为单位,reference time以64ms为单位,kDe...
啊非 发布于 4 个月前(12月30日) 大神,请教一个问题: constexpr int kBaseScaleFactor = Tran...
啊非 发布于 4 个月前(12月30日) reference time:3字节,表示参考时间,以64ms为单位,但是 代码里面是 Trans...
相关文章
  • WebRTC资讯:H265支持进展
  • WebRTC研究:Audio level
  • Mac平台WebRTC编译
  • WebRTC研究:RTP时间戳的产生
  • WebRTC研究:统计参数之丢包率

COPYRIGHT © 2024 jianchihu.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang