有没有做android 开发的,请教点问题。
今天突发奇想想编译一个aosp 试试,但是下载不了aosp 的源码,要翻樯的话源码太多了速度不够,然后找了中科大(https://lug.ustc.edu.cn/wiki/mirrors/help/aosp) 和清华(https://aosp.tuna.tsinghua.edu.cn/) 的源,刚开始还好,下载了七百多兆,但是到中间就不行了,报个错:
repo sync
fatal: unable to connect to aosp.tuna.tsinghua.edu.cn:
aosp.tuna.tsinghua.edu.cn: Name or service not known
奇怪的是utsc 的源也报同样的错:
repo sync
fatal: unable to connect to mirrors.ustc.edu.cn:
mirrors.ustc.edu.cn: Name or service not known
就好奇,android 从业者是怎么做的,都是直接翻樯下载,还是用第三方镜像?介绍一下被。
ps一下:如果直接repo sync 的话,会占用多大地方啊?