社区
Android
帖子详情
求救:同步源码repo sync报错,error:Exited sync due to checkout error
qq_40657570
2019-11-08 09:21:29
用的是清华源
...全文
3977
1
打赏
收藏
求救:同步源码repo sync报错,error:Exited sync due to checkout error
用的是清华源
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用AI写文章
1 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
库如奇
2019-11-09
打赏
举报
回复
1
首先看一下(repo status)本地是否有改动 有改动先放弃改动(repo forall -vc "git reset --hard") 再同步就行(repo sync) ,如果想快点可以加几个参数 (repo sync -f -j8) 希望对您有帮助.
Re
po
Sync
Error
:
Exit
ed
sync
due to fetch
error
s
Background of the problem: 1) command: $ re
po
sync
-j8 2)
error
:
error
:
Exit
ed
sync
due to fetch
error
s 3) solution:$re
po
sync
-f -j8 As it seems -f or --force-broken flag allows it to recov...
解决 re
po
sync
error
:
Exit
ed
sync
due to fetch
error
s
这个是re
po
Android
源码
时遇到的问题,如下解决方法亲测可行: $ re
po
sync
-f –j10 -f or --force-broken flag allows it to recover from network
error
and more im
po
rtant recover on broken/missing objects. -jN use N threads
Re
po
sync
报错
:Syntax
Error
: invalid syntax
re
po
sync
报错
Syntax
Error
: invalid syntax
执行re
po
sync
的时候,错误信息:
error
:
Exit
ed
sync
due to gc
error
s
执行re
po
sync
的时候,错误信息:
error
:
Exit
ed
sync
due to gc
error
s 原因: re
po
升级,不兼容GIT 1.7.2 以下的版本。 方案升级git到 1.7.2以及以上的版本。 Ubuntu10.x用户可尝试如下操作: 1 修改/etc/apt/sources.list文件 把下面内容加到最后面
re
po
sync
error
:
Exit
ed
sync
due to fetch
error
s
看了很多博主写的都没解决,什么加-f,然后加/a/什么的,都没有解决,然后把我的解决方法分享一下,每个人遇到的问题都不一样,你们自己试试哪个能解决 1.删除所在目录和家目录下的.re
po
文件夹 2.如果还是不行再删除家目录下的.re
po
projects文件夹 我试了我的是可以的,只是要下载很久 ...
Android
80,472
社区成员
91,390
社区内容
发帖
与我相关
我的任务
Android
移动平台 Android
复制链接
扫一扫
分享
社区描述
移动平台 Android
android
android-studio
androidx
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章