JCHub

  • Home
  • Category
    • A/V
    • WebRTC
    • Beauty of Programming
    • Linux
    • Windows
    • Moments of Life
    • Campus Life
  • Reference
    • API Reference
    • Utilities
    • AV Test
    • Doc
  • Message Board
  • About
JCHub
Code as My Sword, Lost in Obsession
  1. Main page
  2. WebRTC
  3. Main content

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

2020年3月23日 2377hotness 1likes 0comments

记录下今天编译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编译,时间就是生命。

This article is licensed with Creative Commons Attribution-NonCommercial-No Derivatives 4.0 International License
Tag: WebRTC
Last updated:2020年3月23日

Jeff

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

Tip the author Like
< Last article
Next article >

Comments

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts
  • 浅谈基于SFU实现一对一效果
  • WebRTC资讯:H265支持进展
  • Protected: WebRTC硬件编解码器出错无缝切换软编软解
  • WebRTC研究:Audio level
  • Mac平台WebRTC编译
Categories

COPYRIGHT © 2026 jianchihu.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang