下載android source code遇到 android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused解決方法
2012-10-18 15:50
447 查看
$ repo init -u https://android.googlesource.com/platform/manifest
Getting repo ...
from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
遇到這個問題時,是因為from git://android.git.kernel.org/tools/repo.git己經沒有這個目錄了。。google改變了repo.git的目錄地址
打開~/bin/repo
將REPO_URL='git://android.git.kernel.org/tools/repo.git'
修改為:REPO_URL='https://android.googlesource.com/tools/repo.git'
就可以下載了。
Getting repo ...
from git://android.git.kernel.org/tools/repo.git
android.git.kernel.org[0: 149.20.4.77]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
遇到這個問題時,是因為from git://android.git.kernel.org/tools/repo.git己經沒有這個目錄了。。google改變了repo.git的目錄地址
打開~/bin/repo
將REPO_URL='git://android.git.kernel.org/tools/repo.git'
修改為:REPO_URL='https://android.googlesource.com/tools/repo.git'
就可以下載了。
相关文章推荐
- Android:android.git.kernel.org 无法访问时下载源代码的解决方法
- android.git.kernel.org 无法访问后 repo失败的完美解决方法
- Android:android.git.kernel.org 无法访问时下载源代码的解决方法
- 输入这个命令时:repo init -u git://android.git.kernel.org/platform/manifest.git报错 解决方法
- android.git.kernel.org 无法访问后 repo失败的完美解决方法
- Android:android.git.kernel.org 无法访问时下载源代码的解决方法
- "http://android.git.kernel.org/repo 打不开"问题解决
- android repo android.git.kernel.org 在未预料的“newline”附近出现语法错误
- Couldn't resolve host 'android.git.kernel.org'
- 下载 repo repo init -u git://android.git.kernel.org/platform/manifest.git 提示ioerror
- Kernel.org 被黑,获取 Android 源码方法一则
- curl: (6) Couldn't resolve host 'android.git.kernel.org'
- curl: (6) Couldn't resolve host 'android.git.kernel.org'
- curl: (6) Couldn't resolve host 'android.git.kernel.org' 国内解决办法【转载】
- 获取Android源码时如何解决【fatal: Unable to look up android.git.kernel.org (port 9418) (Name or service not kn
- 关于androidstuio运行程序遇到 Error:(11, 8) 错误: 无法访问HttpEntity 找不到org.apache.http.HttpEntity的类文件解决方法
- http://android.git.kernel.org/不能访问了
- Android源码及Kernel下载地址(非android.git.kernel.org)
- 下载Android源码 curl: (6) Couldn't resolve host 'android.git.kernel.org' 国内解决办法
- "http://android.git.kernel.org/repo 打不开"问题解决