我在Ubuntu 14.4上制作Android WebRtc源代码。当我输入gclient同步时,会出现错误:
Failed to fetch file gs://chromium-android-tools/play-services/10.2.0/31843001b7ce94fbdf71f2a9db76b28548a795fa for /tmp/tmpRcl2od/LICENSE, skipping. [Err: Failure: Server presented certificate that does not match host www.googleapis.com:
....
IOError: [Errno 2] No such file or directory: '/tmp/tmpRcl2od/LICENSE'
Error: Command '/usr/bin/python src/build/android/play_services/update.py download' returned non-zero exit status 1 in /home/jack/workdir
答案 0 :(得分:1)
您的结帐时必定已经处于某种损坏的状态。
我建议尝试擦除third_party/android_tools/sdk/extras/google/m2repository
并手动运行
/usr/bin/python build/android/play_services/update.py download --force
如果需要,请参阅https://cs.chromium.org/chromium/src/build/android/play_services/update.py以获取有关该脚本的详细信息。 最糟糕的情况是你可能不得不重新开始,但我认为这不应该是必要的。
答案 1 :(得分:0)
我通过添加环境变量来修复它:
导出BOTO_CONFIG = / path / to / boto.proxy