高通源码下载

基础环境搭建
        参考Android源码下载的环境搭建

源码下载
        在Android releases | CodeLinaro Wiki上找到需要下载的芯片分支代码。

// 命令模板

repo init --depth=1 -u https://git.codelinaro.org/clo/la/platform/manifest.git -b release -m [manifest] --repo-url=https://git.codelinaro.org/clo/tools/repo.git --repo-branch=qc-stable

比如下载 LA.UM.10.3.r1-01700-sdm845.0 845 android12 分支的开源代码

repo init --depth=1 -u https://git.codelinaro.org/clo/la/platform/manifest.git -b release -m LA.UM.10.3.r1-01700-sdm845.0.xml --repo-url=https://git.codelinaro.org/clo/tools/repo.git --repo-branch=qc-stable 

// 执行同步
repo sync -j8 -c --no-tags

 遇到的问题
Q:ubuntu20版本上默认的python版本为3.10,出现ModuleNotFoundError: No module named ‘formatter‘错误
A:因为formatter这个模块已经在3.10上删除了,所以出现错误,解决办法,将附件formatter.py放到python3.10的lib目录(默认 /usr/lib/python3.10/)即可。或者从wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0a4.tar.xz下载解压得到formatter.py,然后放置到python3.10的lib目录。

解决方法
更新最新 help.py 代码
subcmds/help.py · 开源中国/repo - Gitee.com

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值