下载Android内核源码code [英] Download Android kernel source code
本文介绍了下载Android内核源码code的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在试图下载金鱼内核源码code,但没有运气。
当打以下命令我最终大小1GB的来源$ C $ C:
git的克隆混帐://android.git.kernel.org/kernel/common.git
然而,我们我pssed下面的命令在$ P $,
git的结帐-t产地/ Android的金鱼-2.6.29 -b金鱼
它提示我:
致命错误:git仓库没有找到。
尽管,
git的分支-r
也给了我同样的错误。
解决方案
git的克隆混帐://android.git.kernel.org/kernel/common.git
然后
CD常见==============>>>这为u错过了一步。
Git的分支-a
git的结帐-t遥控器/产地/ Android的2.6.38 -b mygoldfish2_6_38
Git的分支-r
git的结帐-t产地/ Android的2.6.35 -b mygoldfish_2_6_35
然后将下面的命令给出:
的Git分支
Android的2.6.36
mygoldfish2_6_38
* mygoldfish_2_6_35
I have been trying to download goldfish kernel source code but no luck.
Upon hitting the following command I end up with the source code of sized 1GB:
git clone git://android.git.kernel.org/kernel/common.git
However we I pressed on following command,
git checkout -t origin/android-goldfish-2.6.29 -b goldfish
it prompt me:
Fatal error: git repository not found.
Even though,
git branch -r
is also giving me same error.
解决方案
git clone git://android.git.kernel.org/kernel/common.git
and then
cd common ==============>>> this is the step u missed.
git branch -a
git checkout -t remotes/origin/android-2.6.38 -b mygoldfish2_6_38
git branch -r
git checkout -t origin/android-2.6.35 -b mygoldfish_2_6_35
and then the following command gives:
git branch
android-2.6.36
mygoldfish2_6_38
* mygoldfish_2_6_35
这篇关于下载Android内核源码code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文