repo sync 卡住的解决办法


用repo sync同步的时候总是卡住。不知为何。从网上查到如下办法

新建一个operation.sh,文件名随意。粘贴如下

#!/bin/bash
echo “======= start repo sync =======”
cd /EDA/Android/WORKING_DIRECTORY
repo sync -j4
while [ $? == 1 ]; do
echo “====== sync failed! re-sync again =====”
sleep 3
repo sync -j4

然后在终端运行,卡住就会自动重新同步。

repo sync 卡住的解决办法 was originally published on DormanthinkZ.C

repo sync 卡住的解决办法


用repo sync同步的时候总是卡住。不知为何。从网上查到如下办法

新建一个operation.sh,文件名随意。粘贴如下

#!/bin/bash
echo “======= start repo sync =======”
cd /EDA/Android/WORKING_DIRECTORY
repo sync -j4
while [ $? == 1 ]; do
echo “====== sync failed! re-sync again =====”
sleep 3
repo sync -j4

然后在终端运行,卡住就会自动重新同步。

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink

repo sync 卡住的解决办法 was originally published on DormanThink