git 下载Android闹钟App源代码

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8021405/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 06:08:51  来源:igfitidea点击:

Downloading source code of Android Alarm Clock App

androidgitclockalarm

提问by vandus

Im trying to download the source code of original Android Alarm Clock via git but Im only getting errors:

我试图通过 git 下载原始 Android 闹钟的源代码,但我只收到错误:

git clone git://android.git.kernel.org/platform/development.git
Cloning into development...
android.git.kernel.org[0: 149.20.4.77]: errno=No error
fatal: unable to connect a socket (No error)

Any advices? Is there any other way how to get to the code?

有什么建议吗?有没有其他方法可以获取代码?

回答by Szere Dyeri

github mirrors all the android projects. You can access the same repo from git://github.com/android/platform_development.git.

github 反映了所有 android 项目。您可以从git://github.com/android/platform_development.git访问相同的存储库。

回答by CommonsWare

Make sure you are following the current instructions, as the Git repositories moved following the kernel.org hack. Here is a Google Group postingdiscussing more about this.

确保您遵循当前的说明,因为 Git 存储库是按照 kernel.org hack 移动的。这是 Google Group 的帖子,讨论了更多相关内容。