请问这样的错误怎么解决,信息如下: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”.
当前commit是多少,确认一下是否有执行source build/envsetup.sh
请问怎么判度执行成功?source build/envsetup.sh执行后过了几秒恢复了命令输入框,这是执行了还是每执行呢
你在当前终端执行一次可以了,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
全部是下载就编译的
用另外一台笔记本装了编译前面就不通过了:
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl$Companion.access$findClassInPsiFile(KotlinCliJavaFileManagerImpl.kt:257)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCliJavaFileManagerImpl.findPsiClassInVirtualFile(KotlinCliJavaFileManagerImpl.kt:227)
15:34:49 ninja failed with: exit status 1
lunch的不对,不是rk3568_firefly_roc_pc_userdebug,是rk3568_firefly_roc_pc-userdebug,直接从wiki上复制吧
请问lunch在哪里复制呢?可以给个连接吗,谢谢
https://wiki.t-firefly.com/zh_CN/ROC-RK3568-PC/compile_android11.0_firmware.html
source build/envsetup.sh
lunch rk3568_firefly_roc_pc-userdebug
删除OUT文件夹全部重新编译就通过了,谢谢ZYK的帮助
zyk 发表于 2021-12-10 11:39
你在当前终端执行一次可以了,source build/envsetup.sh执行后,直接运行lunch命令看一下输出的内容是否有r …
- rk3568_firefly_roc_pc-userdebug
我出现这个了,重新编译还是不行
fairytale147 发表于 2021-12-10 17:43
全部是下载就编译的
请问您解决这个问题了嘛?我目前也是出现这个情况
