Toybrick

标题: 版主,用repo无法下载代码 [打印本页]

作者: wbf420    时间: 2020-4-23 10:58
标题: 版主,用repo无法下载代码
板子,我用download-source code-readme.txt文件里的命令,不能下载到源码呀,please help显示错误

[root@ToybrickVM android_source]# repo init --repo-url  http://github.com/aosp-mirror/tools_repo.git -u http://github.com/rockchip-toybrick/manifest.git -b master -m  release/rk3399pro_release-V1.5.xml
Downloading Repo source from http://github.com/aosp-mirror/tools_repo.git
fatal: Cannot get http://github.com/aosp-mirror/tools_repo.git/clone.bundle
fatal: error unknown url type: https
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
[root@ToybrickVM android_source]#






作者: jefferyzhang    时间: 2020-4-23 11:37
http改成https,删掉本地.repo/ 目录再试
作者: wbf420    时间: 2020-4-23 11:47
试过了也是不行的哦

[root@ToybrickVM android_source]#
[root@ToybrickVM android_source]# repo init --repo-url  https://github.com/aosp-mirror/tools_repo.git -u https://github.com/rockchip-toybrick/manifest.git -b master -m rk3399pro.xml
Downloading Repo source from https://github.com/aosp-mirror/tools_repo.git
fatal: Cannot get https://github.com/aosp-mirror/tools_repo.git/clone.bundle
fatal: error unknown url type: https
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
[root@ToybrickVM android_source]#
[root@ToybrickVM android_source]#
作者: jefferyzhang    时间: 2020-4-23 11:53
那就把  --repo-url  https://github.com/aosp-mirror/tools_repo.git  去掉走google源
作者: wbf420    时间: 2020-4-23 11:56
也试了,同样不行

[root@ToybrickVM toybrick]#
[root@ToybrickVM toybrick]# repo init -u http://github.com/rockchip-toybrick/manifest.git -b master -m rk3399pro.xml                                                   Downloading Repo source from https://gerrit.googlesource.com/git-repo
fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle
fatal: error unknown url type: https
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
[root@ToybrickVM toybrick]#
[root@ToybrickVM toybrick]#
作者: jefferyzhang    时间: 2020-4-23 12:39
这你自己本地问题,多google下吧。有这时间在这问,为什么不自己查下问题:https://blog.csdn.net/echotina/article/details/41380883

作者: wbf420    时间: 2020-4-23 14:37
版主:真的是下不了啊,tools_repo我都能用Git下下来,源码就是下不了


[root@ToybrickVM toybrick]#
[root@ToybrickVM toybrick]#
[root@ToybrickVM toybrick]# repo init --repo-url  https://github.com/aosp-mirror/tools_repo.git -u https://github.com/rockchip-toybrick/manifest.git -b master -m  release/rk3399pro_release-V1.5.xml
Downloading Repo source from https://github.com/aosp-mirror/tools_repo.git
fatal: Cannot get https://github.com/aosp-mirror/tools_repo.git/clone.bundle
fatal: error unknown url type: https
fatal: cloning the git-repo repository failed, will remove '.repo/repo'
[root@ToybrickVM toybrick]#
[root@ToybrickVM toybrick]#

作者: wbf420    时间: 2020-4-24 08:39
版主:我把CentOS6.5换成CentOS7.7后就可以了




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3