编译 Android >lunch时报错
请问这样的错误怎么解决,信息如下:lunch rk3568_firefly_roc_pc_userdebugIn file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "rk3568_firefly_roc_pc_userdebug".
当前commit是多少,确认一下是否有执行source build/envsetup.sh 请问怎么判度执行成功?source build/envsetup.sh执行后过了几秒恢复了命令输入框,这是执行了还是每执行呢 我看这个帖子说是product不对 https://dev.t-firefly.com/thread-52802-1-4.html,我下的SDK是Android11.0_get_20210824,然后根据https://wiki.t-firefly.com/zh_CN/ROC-RK3568-PC/compile_android11.0_firmware.html这个教程编译了HDIM,然后再往下走就卡在上面的问题了 你在当前终端执行一次可以了,source build/envsetup.sh执行后,直接运行lunch命令看一下输出的内容是否有rk3568_firefly_roc_pc_userdebug make oem images...
u-boot/trust.img not fount! Please make it from u-boot first!
create loader...
create config.cfg...
create baseparameter...done.
Make image ok!
Generating MD5 data...
MD5 data generated successfully!
New image generated successfully!
Making update.img OK.
Make update image ok!
/media/junyi/66725B0C725AE07B/MyAndroid11.0
rename rockdev/Image-rk3568_firefly_roc_pc/update.img to rockdev/Image-rk3568_firefly_roc_pc/ROC-RK3568-PC_Android11_HDMI_211210.img
junyi@junyi:/media/junyi/66725B0C725AE07B/MyAndroid11.0$ source build/envsetup.sh
junyi@junyi:/media/junyi/66725B0C725AE07B/MyAndroid11.0$ lunch rk3568_firefly_roc_pc_userdebug
In file included from build/make/core/config.mk:291:
In file included from build/make/core/envsetup.mk:266:
build/make/core/product_config.mk:155: error: Can not locate config makefile for product "rk3568_firefly_roc_pc_userdebug".
12:42:26 dumpvars failed with: exit status 1
又重新编译了一次,前面除了有u-boot/trust.img not fount!这个提示外其他都没有报错,后面按你说的执行source build/envsetup.s也还是不行,是不死前面那个u-boot引起的呢? 没关系,之前有编译过吗。把这个命令运行的信息贴一下
git log --oneline
第一次编译junyi@junyi:/media/junyi/66725B0C725AE07B/MyAndroid11.0$ git log --oneline
47b12149d9 (HEAD -> firefly) aosp update to android-11.0.0_r39
c897cfd301 support CAM-8MS1M and CAM-2MS2M Camera
9c36965d13 support DM-M10R800 V2 MIPI LCD
98378ba401 support RK3568B2 and improve os stability
08ee3fd43a remove some unuseful files
4e96d73a0e aosp update to android-11.0.0_r37
4c4a96227b improve PCIe SSD compatibility
9b2bb1f64e fix that make uboot ok for rk3566
de3d71fb16 improve os stabilit
609f13f769 support npu
4608887b38 (grafted) Init the Firefly-RK356X Android11.0 SDK
git status .有修改过什么东西吗,lunch其它的product可以成功吗,比如rk3568_firefly_aioj-userdebug 全部是下载就编译的
页:
[1]
2