2015-12-02 120 views
0

我試圖制定在http://www.webrtc.org/native-code/android中定義的指令。命令「gclient同步」後,執行和下載,在最後的時間後進程失敗:WebRTC Android - Windows中的gclient同步錯誤

fatal: early EOF 
The remote end hung up unexpectedly 
fatal: index-pack failed 
error: RPC failed; result=56, HTTP code = 200 
    Traceback (most recent call last): 
     File "C:\depot_tools\depot_tools\gclient_scm.py", line 924, in _Clone 
     self._Run(clone_cmd, options, cwd=self._root_dir, retry=True) 
     File "C:\depot_tools\depot_tools\gclient_scm.py", line 1201, in _Run 
     gclient_utils.CheckCallAndFilterAndHeader(cmd, env=env, **kwargs) 
     File "C:\depot_tools\depot_tools\gclient_utils.py", line 293, in CheckCallAndF 
    ilterAndHeader 
     return CheckCallAndFilter(args, **kwargs) 
     File "C:\depot_tools\depot_tools\gclient_utils.py", line 538, in CheckCallAndF 
    ilter 
     rv, args, kwargs.get('cwd', None), None, None) 
    CalledProcessError: Command 'git -c core.deltaBaseCacheLimit=512m clone --no-che 
    ckout --progress --verbose https://chromium.googlesource.com/chromium/src.git C: 
    \\webrtc_android\\src\\chromium\\_gclient_src_x3yrqm' returned non-zero exit sta 
    tus 128 in C:\webrtc_android\src\chromium 
    ---------------------------------------- 
    Traceback (most recent call last): 
    File "C:\depot_tools\depot_tools\gclient.py", line 2325, in <module> 
    sys.exit(main(sys.argv[1:])) 
    File "C:\depot_tools\depot_tools\gclient.py", line 2311, in main 
    return dispatcher.execute(OptionParser(), argv) 
    File "C:\depot_tools\depot_tools\subcommand.py", line 252, in execute 
    return command(parser, args[1:]) 
    File "C:\depot_tools\depot_tools\gclient.py", line 2066, in CMDsync 
    ret = client.RunOnDeps('update', args) 
    File "C:\depot_tools\depot_tools\gclient.py", line 1523, in RunOnDeps 
    work_queue.flush(revision_overrides, command, args, options=self._options) 
    File "C:\depot_tools\depot_tools\gclient_utils.py", line 1024, in run 
    self.item.run(*self.args, **self.kwargs) 
    File "C:\depot_tools\depot_tools\gclient.py", line 834, in run 
    file_list) 
    File "C:\depot_tools\depot_tools\gclient_scm.py", line 166, in RunCommand 
    return getattr(self, command)(options, args, file_list) 
    File "C:\depot_tools\depot_tools\gclient_scm.py", line 418, in update 
    self._Clone(revision, url, options) 
    File "C:\depot_tools\depot_tools\gclient_scm.py", line 932, in _Clone 
    if os.listdir(tmp_dir): 
WindowsError: [Error 3] The system cannot find the path specified: 'C:\\webrtc_a 
ndroid\\src\\chromium\\_gclient_src_x3yrqm/*.*' 
Error: Command 'C:\\depot_tools\\depot_tools\\python276_bin\\python.exe -u src/s 
ync_chromium.py --target-revision 47ce5feb1d13ce889da15f76f063a7978a0b5c37' retu 
rned non-zero exit status 1 in C:\webrtc_android 
Hook ''C:\depot_tools\depot_tools\python276_bin\python.exe' -u src/sync_chromium 
.py --target-revision 47ce5feb1d13ce889da15f76f063a7978a0b5c37' took 77717.11 se 
cs 

這是否與事實,我'嘗試執行在Windows上做什麼?

+0

下面是我的個人博客中關於如何構建Android版WebRTC內容的分步說明:http://andrii.sergiienko.me/?go=all/building-webrtc-demo-for-android/ - 希望,這會有所幫助。 – fycth

回答

1

獨立於您的錯誤,您將無法在windows下獲取和編譯android代碼。你需要在正確的linux發行版上。