repo设置proxy
export http_proxy=http://127.0.0.1:10809
export https_proxy=https://127.0.0.1:10809
Git设置proxy
git config --global http.proxy http://127.0.0.1:10809
git config --global https.proxy https://127.0.0.1:10809
git config --global --unset http.proxy
git config --global --unset https.proxy
这样就可以下载Google原汁原味的Android源码了。
for yarn
yarn config set proxy http://127.0.0.1:10809
yarn config set https-proxy http://127.0.0.1:10809
for npm
npm config set http-proxy http://127.0.0.1:10809
npm config set https-proxy http://127.0.0.1:10809