Toybrick

版主,用repo无法下载代码

wbf420

注册会员

积分
198
楼主
发表于 2020-4-23 10:58:43    查看: 6406|回复: 7 | [复制链接]    打印 | 只看该作者
板子,我用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]#





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
回复

使用道具 举报

jefferyzhang

版主

积分
12952
沙发
发表于 2020-4-23 11:37:21 | 只看该作者
http改成https,删掉本地.repo/ 目录再试
回复

使用道具 举报

wbf420

注册会员

积分
198
板凳
 楼主| 发表于 2020-4-23 11:47:25 | 只看该作者
试过了也是不行的哦

[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

版主

积分
12952
地板
发表于 2020-4-23 11:53:39 | 只看该作者
那就把  --repo-url  https://github.com/aosp-mirror/tools_repo.git  去掉走google源
回复

使用道具 举报

wbf420

注册会员

积分
198
5#
 楼主| 发表于 2020-4-23 11:56:54 | 只看该作者
也试了,同样不行

[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

版主

积分
12952
6#
发表于 2020-4-23 12:39:58 | 只看该作者
这你自己本地问题,多google下吧。有这时间在这问,为什么不自己查下问题:https://blog.csdn.net/echotina/article/details/41380883
回复

使用道具 举报

wbf420

注册会员

积分
198
7#
 楼主| 发表于 2020-4-23 14:37:21 | 只看该作者
版主:真的是下不了啊,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

注册会员

积分
198
8#
 楼主| 发表于 2020-4-24 08:39:29 | 只看该作者
版主:我把CentOS6.5换成CentOS7.7后就可以了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表