Firefly开源社区

标题: AIO-3399ProC编译android9.0失败 [打印本页]

作者: nadyboy    时间: 2022-2-15 23:10
标题: AIO-3399ProC编译android9.0失败
按照文执行 lunch rk3399pro_firefly_aioc-userdebug,失败,后通过lunch 命令发现根本就没有rk3399pro_firefly_aioc-userdebug这个选项,希望各位大佬指点指点
作者: leung先森    时间: 2022-2-16 11:25
需要先同步更新一下代码
作者: nadyboy    时间: 2022-2-16 13:52
leung先森 发表于 2022-2-16 11:25
需要先同步更新一下代码

具体的操作是这样吗: .git  ---> git reset --hard  ---->  git clone https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle.git .bundle -->.bundle/update  -->  git rebase FETCH_HEAD,谢谢
作者: leung先森    时间: 2022-2-16 14:13
nadyboy 发表于 2022-2-16 13:52
具体的操作是这样吗: .git  ---> git reset --hard  ---->  git clone https://gitlab.com/TeeFirefly/r ...

是的
作者: nadyboy    时间: 2022-2-16 17:09
leung先森 发表于 2022-2-16 14:13
是的

不行报错:执行git rebase FETCH_HEAD的时候,错误内容如下
On branch master
Changes not staged for commit:
        modified:   bionic/libc/kernel/uapi/linux/netfilter/xt_connmark.h
。。。。。。。。。。
It took 15.57 seconds to enumerate untracked files. 'status -uno'
may speed it up, but you have to be careful not to forget to add
new files yourself (see 'git help status').
no changes added to commit


作者: nadyboy    时间: 2022-2-16 20:27
问题已解决,最终我实现的步骤在此写一下,如果遇到类似的问题可以参考
1、通过git得到.bundle文件,其操作:git clone https://gitlab.com/TeeFirefly/rk3399pro-pie-bundle.git .bundle
2、下载Android9.0源码,我这里用的是/path/to/rk3399pro_firefly_android9.0_20191126
3、解压,得到.git
4、更新.bundle文件,由于该操作需要.git所以在执行该操作前要先得到.git,其操作:.bundle/update
5、如果不将已经跟新的代码提交到本地切换分支的时候会失败,git commint -a -m "提交代码"
6、切换到firefly分支 git rebase FETCH_HEAD




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1