首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏独行猫a的沉淀积累总结

    Windows下成功安装Repo和下载Android源码方法总结LineageOS 14.1下载

    Repo的Windows版本: https://github.com/esrlabs/git-repo 链接地址:GitHub - esrlabs/git-repo: repo - The multiple ://raw.githubusercontent.com/esrlabs/git-repo/stable/repo.cmd > ~/bin/repo.cmd chmod a+rx ~/bin/repo 一定能够成功的办法 1.打开github上的git-repo仓库,把仓库代码clone或者zip包下载下来。 https://github.com/esrlabs/git-repo 把repo和repo.cmd复制一份放置在C:\Users\Administrator\bin 注意环境不同可能不一定是这个路径 把下载的git-repo仓库内的源码放在repo文件夹下。 或者省略这步,直接把下载的 git-repo仓库放到git bash的~/bin下应该也可以。 3.下载Android 源码。

    12.9K11编辑于 2022-01-07
  • 来自专栏程序手艺人

    [ 物联网篇 ] 01 - NXP i.MX 8M Mini 环境的搭建

    2.0.0_ga.xml repo sync 源码下载过程遇到的错误1 : repo init 提示 fatal: Cannot get https://gerrit.googlesource.com/git-repo /clone.bundle fatal: error [Errno 101] Network is unreachable fatal: cloning the git-repo repository failed, will remove '.repo/repo' // 解决方案:  先单独克隆repo,然后将git-repo里面的repo文件复制到bin目录,在同步源码的工作目录新建.repo 文件夹,把git-repo重命名为repo复制到.repo目录下: git clone https://gerrit-googlesource.lug.ustc.edu.cn/git-repo  参考解决 :Cannot get http://gerrit.googlesource.com/git-repo/clone.bundle 源码下载过程遇到的错误2 : ImportError: cannot import

    3.8K20发布于 2019-04-17
  • 来自专栏全志嵌入式那些事

    GIT具体配置步骤详解

    Repo官网:git-repo 安装 Repo 工具 可以用包管理器进行安装: # Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo repo 国内镜像源安装: $ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://mirrors.bfsu.edu.cn/git/git-repo 将如下内容复制到你的~/.bashrc 里 $ echo export REPO_URL='https://mirrors.bfsu.edu.cn/git/git-repo' >> ~/.bashrc global credential.helper store 常见问题 卡在Downloading Repo source from https://gerrit.googlesource.com/git-repo

    44610编辑于 2024-02-02
  • 来自专栏全志嵌入式那些事

    新SDK平台下载开源全志R329的SDK

    Repo官网:git-repo 安装 Repo 工具 可以用包管理器进行安装: # Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo repo 国内镜像源安装: $ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://mirrors.bfsu.edu.cn/git/git-repo 将如下内容复制到你的~/.bashrc 里 $ echo export REPO_URL='https://mirrors.bfsu.edu.cn/git/git-repo' >> ~/.bashrc global credential.helper store 常见问题 卡在Downloading Repo source from https://gerrit.googlesource.com/git-repo

    42710编辑于 2024-02-02
  • 来自专栏全志嵌入式那些事

    新SDK平台下载开源全志D1-H/D1s的SDK

    Repo官网:git-repo 安装 Repo 工具 可以用包管理器进行安装: # Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo repo 国内镜像源安装: $ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://mirrors.bfsu.edu.cn/git/git-repo 将如下内容复制到你的~/.bashrc 里 $ echo export REPO_URL='https://mirrors.bfsu.edu.cn/git/git-repo' >> ~/.bashrc global credential.helper store 常见问题 卡在Downloading Repo source from https://gerrit.googlesource.com/git-repo

    54610编辑于 2024-02-02
  • 来自专栏全志嵌入式那些事

    新SDK平台下载开源全志V853的SDK

    Repo官网:git-repo 安装 Repo 工具 可以用包管理器进行安装: # Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo repo 国内镜像源安装: $ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://mirrors.bfsu.edu.cn/git/git-repo 将如下内容复制到你的~/.bashrc 里 $ echo export REPO_URL='https://mirrors.bfsu.edu.cn/git/git-repo' >> ~/.bashrc global credential.helper store 常见问题 卡在Downloading Repo source from https://gerrit.googlesource.com/git-repo

    57810编辑于 2024-02-02
  • 来自专栏全栈程序员必看

    Android sdk_安卓sdk工具下载

    imx-android-10.0.0_2.5.0.tar.gz 到一个文件夹里并解压,进入: 2.1 获取repo git clone https://mirrors.tuna.tsinghua.edu.cn/git/git-repo 修改 repo 里的内容为下面 REPO_URL = 'https://mirrors.bfsu.edu.cn/git/git-repo' 然后添加repo到环境变量 export PATH=$PATH :git-repo的绝对路径 2.2 同步远程代码 执行下面命令 source imx_android_setup.sh 肯定会报错,因为NXP默认的是谷歌官方的地址,要终止掉命令,我们使用的是imx-android

    2.1K20编辑于 2022-09-27
  • 来自专栏Jenkins

    在 Kubernetes 上使用 Argo 实现 CI/CD

    template: checkout - - name: build-push-docker template: build-push-docker arguments: artifacts: - name: git-repo - name: checkout inputs: artifacts: - name: git-repo path: /src git: repo: "{{workflow.parameters.repo - name: build-push-docker inputs: artifacts: - name: git-repo path: /src parameters: - name: image-tag - name: run-tests inputs: artifacts: - name: git-repo path: /src parameters: - name: image-tag - name: deploy-kubernetes inputs: artifacts: - name: git-repo path: /src parameters: - name

    4.9K20发布于 2020-08-11
  • 来自专栏Android技术分享

    是时候下载Android 9.0系统源码了

    $PATH 安装curl库: sudo apt-get install curl 下载repo并设置权限: curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo 如果想使用tuna的镜像源进行更新,可以将如下内容复制到你的~/.bashrc里: export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo

    4.6K30发布于 2019-05-10
  • 来自专栏数学与计算机

    AOSP源码下载的正确打开方式

    gedit修改: sudo gedit /usr/bin/repo 将REPO_URL的值修改为REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo 如果仍不起作用: sudo gedit ~/bashrc 在最后一行添加export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo

    1.3K00发布于 2020-01-24
  • 来自专栏有困难要上,没有困难创造困难也要上!

    CentOS7上编译Android系统

    /repo > ~/bin/repo $ chmod a+x ~/bin/repo 编辑~/bin/repo文件,将REPO_URL由 https://gerrit.googlesource.com/git-repo 改为 https://mirrors.tuna.tsinghua.edu.cn/git/git-repo' 下载Android源代码 # 下载源码包 $ wget https://mirrors.tuna.tsinghua.edu.cn

    1.9K120发布于 2018-05-14
  • 来自专栏Rice嵌入式

    XR608与鸿蒙,简化构建环境流程

    repo文件 下载的repo文件,在调试终端输出如下命令: rice@rice:~/xr806$ git clone https://gerrit-googlesource.lug.ustc.edu.cn/git-repo 修改git-repo下载到的repo文件REPO_URL地址(https://mirrors.ustc.edu.cn/aosp/git-repo),操作如下所示: 在调试终端输出如下命令: rice @rice:~/xr806$ vim git-repo/repo 修改位置如下图: 拷贝repo文件到/usr/bin/,便可以执行repo命令,在调试终端输出如下命令: rice@rice:~/xr806 /$ sudo cp git-repo/repo /usr/bin/ 下载系统源码 创建目录,在调试终端输出如下命令: rice@rice:~/xr806$ mkdir code rice@rice:

    72320编辑于 2022-05-10
  • 来自专栏program

    Windows下安装Ubuntu、图形界面、下载Android源码,看这一篇就够了

    config --list 下载repo mkdir ~/bin sudo apt install curl curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo manifest -b android-10.0.0_r25 初始化仓库时会报如下错误 Downloading Repo source from https://gerrit.googlesource.com/git-repo fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle fatal: error [Errno 110] Connection timed out 在~/.bashrc文件下添加如下代码即可 export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo/'

    3.1K20编辑于 2022-10-08
  • 来自专栏王小二的Android站

    [073]M1编译AOSP是什么体验

    准备工作: git Python 3 获取代码,切换到清华源 cd ~ mkdir bin/; cd bin/ curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo repo chmod +x repo export PATH=$PATH:~/bin/ export REPO_URL='https://mirrors.tuna.tsinghua.edu.cn/git/git-repo

    2.3K20编辑于 2022-03-24
  • 来自专栏difcareer的技术笔记

    fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle fatal: error [SSL: CERTIF...

    下载aosp时,执行 repo init遇到如下错误: fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle

    2.5K20发布于 2018-08-23
  • 来自专栏Chasays

    fatal: Cannot get https://gerrit.googlesource.com/git-repo/clone.bundle解决版本

    blog.csdn.net/weixin_42514606/article/details/100927076 现象 fatal: Cannot get https://gerrit.googlesource.com/git-repo

    3.9K30发布于 2019-09-18
  • 来自专栏代码GG之家

    搭建安卓系统源代码编译环境

    mirrors.tuna.tsinghua.edu.cn/help/AOSP/ 2.Git Repo 镜像使用帮助 https://mirrors.tuna.tsinghua.edu.cn/help/git-repo 建议没有访问外国网站条件的用清华大学的镜像和清华大学的git.repo,并将~/bin/repo中的 REPO_URL改成https://gerrit-google.tuna.tsinghua.edu.cn/git-repo

    2.1K80发布于 2018-02-02
  • 来自专栏飞雪无情的博客

    最新最全的Android4.0 API源代码下载和完整Android4.0源代码下载教程

    $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo 3.

    61030发布于 2018-08-28
  • 来自专栏北京马哥教育

    20 分钟 Shell 入门深度教程

    ls`echo "curDirCon = ${curDir2}"# 输出:=======变量======= string string 123 123 123 curDir = /Users/aron/git-repo /syntax.sh paramsCount=2 目录存在 /Users/aron/git-repo/ShellLearning/helloshell dir = /Users/aron/git-repo echo "err:不是一个目录" fi}read_implement_file_recursively $(pwd) 输出: =======文件目录======= 处理文件 /Users/aron/git-repo /ShellLearning/helloshell/data 处理目录 /Users/aron/git-repo/ShellLearning/helloshell/subfolder 处理文件 /Users /aron/git-repo/ShellLearning/helloshell/subfolder/data2 处理文件 /Users/aron/git-repo/ShellLearning/helloshell

    1.6K60发布于 2018-05-04
  • 来自专栏M不作声

    Git

    使用以下命令对远程仓库进行操作: 添加远程仓库并命名为origin:git remote add origin <git-repo> 修改远程仓库:git remote set-url origin < git-repo 删除远程仓库:git remote rm origin 列出所有的远程仓库:git remote -v 然后就可以推送到远程仓库了,其中origin是远程仓库,master是分支: 推送到远程仓库并建立追踪关系

    69430发布于 2020-08-02
领券