aosp编译android14,启动Goldfish模拟器

本地存在一套main分支的aosp代码,由于main分支下的build/make/target/product/ 下不存在sdkx_xxx.mk(这种是带Goldfish模拟器的)这种配置文件,只能lunch aosp_cf_x86_64_phone-xxx这种,这种是Cuttlefish模拟器,所以需要切分支,切到android14-release。

进入.repo/manifests,切manifest仓的分支,并关联远程分支。
git checkout -b android14-release origin/android14-release,执行git pull

然后执行repo sync -j4 ,就会拉代码。

执行repo start android14-release --all ,确保所有git仓在此分支下。

使用repo sync的时候总是Failed to remove xxx,删除不存在分git仓库失败。
例如

Deleting obsolete path /F/android/tools/rr_prebuilt
Failed to remove /F/android/tools/rr_prebuilt/.git
error: Failed to delete obsolete path /F/android/tools/rr_prebuilt
       remove manually, then run sync again


执行sync.py的时候,失败,无法自动移除不存在于manifest中的仓库。
https://gerrit.googlesource.com/git-repo/+/maint/subcmds/sync.py
一开始我以为是权限问题,给repo 和 aosp目录都配置了权限,但是还是不行,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值