Android源码获取过程卡住 repo sync 卡住

fetching projects卡住处理:

网上找了个脚本:

#!/bin/bash

echo “======= start repo sync =======”

repo sync -j4

while [ $? == 1 ]; do

    echo “====== sync failed! re-sync again =====”

    sleep 3

    repo sync -j4

done

(-j表示多个project并发下载,不过设置之后带宽被占满了)

你可能感兴趣的:(Android源码)