1. [repo init] fetch address issue: change to fetch="git://Android.git.linaro.org/"
2. something like "remote end hung up unexpectedly"
go to the folder where you made “repo init” some days ago
open .repo/repo/subcmds/sync.py
correct _Fetch function (program will try to sync even without network after this change:-)) – add “while True:” at line 6, “break” at line 9, remove “sys.exit(1)” at line 11.
def _Fetch(self, projects):
fetched = set()
pm = Progress('Fetching projects', len(projects))
for project in projects:
pm.update()
while True:
if project.Sync_NetworkHalf():
fetched.add(project.gitdir)
break
else:
print >>sys.stderr, 'error: Cannot fetch %s' % project.name
pm.end()
return fetched
Another work around is "repo sync -f"
3.
curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" >~/bin/repo
repo init -u git://codeaurora.org/platform/manifest.git
repo sync
4.fatal: '../platform/abi/cpp.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
这个问题是由于repo版本太低
可以使用curl http://git-repo.googlecode.com/files/repo-1.18 > ~/bin/repo
5. Network is unreachable
fatal: HTTP request failed
诸如此类的问题,排除自身网络问题后,办法只有一个,重新repo sync,可以自己用一个脚本,fail后自动重新sync。
分享到:
相关推荐
This is android source for the source of android code.
android 源代码 source android 源代码 source android 源代码 source android 源代码 source android 源代码 source android 源代码 source android 源代码 source
android 1.6 source 源码,用7zip解压。 解压为 android-sdk-windows\platforms\android-4\sources\ ...可解决 eclipse 调试时 android 项目时报“Source not found”问题。也方便查看 android 源代码。
android-2.2 source文件 eclipse中绑定android源码的方法 1.下载android-2.2 source 2.解压放在android.jar所在目录的sources里即可(注意是sources而非source)。 比如我android.jar所在目录为 D:\android-sdk...
android-4.0 source文件 eclipse中绑定android源码的方法 1.下载android-4.0 source 2.解压放在android.jar所在目录的sources里即可(注意是sources而非source)。 比如我android.jar所在目录为 D:\android-sdk...
Beginning Android 2 Source for eclipse 3.5 (android-sdk-windows-2.0.1)
Beginning Android 4 Source for eclipse 3.7 (android-sdk-windows-4.0.3)
android 2.3.3 source 源码,用7zip解压。 解压为 android-sdk-windows\platforms\android-10\sources\ ...可解决 eclipse 调试时 android 项目时报“Source not found”问题。也方便查看 android 源代码。
An android ebook reader source code.
android 19 source for download
Android 22 SDK source, 放到sdk/sources文件夹下即可。
用于android source code下载
android source code -Bluetooth: 对于android 源码的分析很有用,此处是Bluetooth的android 源码。
最新android 4.2源码,压缩后18M。下载之后,使用解压到*\adt-bundle-windows-x86_64\sdk\ 目录下,然后就可以查看android源码了。若仍不能查看,点击出现的attach source按钮,选中解压的source文件夹下的android...
get android source code
android ophone source code 4
Android Framework Source Code,下载并解压后,将解压出的整个文件夹复制或者移动到.../android-sdk-windows/sources文件夹下,然后重新打开SDK Manager.exe。