标题: 编译 Android >lunch时报错 [打印本页] 作者: fairytale147 时间: 2021-12-10 10:04 标题: 编译 Android >lunch时报错 请问这样的错误怎么解决,信息如下: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". 作者: zyk 时间: 2021-12-10 10:13
当前commit是多少,确认一下是否有执行source build/envsetup.sh作者: fairytale147 时间: 2021-12-10 10:38
请问怎么判度执行成功?source build/envsetup.sh执行后过了几秒恢复了命令输入框,这是执行了还是每执行呢作者: fairytale147 时间: 2021-12-10 10:51
我看这个帖子说是product不对 https://dev.t-firefly.com/thread-52802-1-4.html,我下的SDK是Android11.0_get_20210824,然后根据https://wiki.t-firefly.com/zh_CN ... d11.0_firmware.html这个教程编译了HDIM,然后再往下走就卡在上面的问题了作者: zyk 时间: 2021-12-10 11:39
你在当前终端执行一次可以了,source build/envsetup.sh执行后,直接运行lunch命令看一下输出的内容是否有rk3568_firefly_roc_pc_userdebug作者: fairytale147 时间: 2021-12-10 12:45
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引起的呢?作者: zyk 时间: 2021-12-10 14:11
没关系,之前有编译过吗。把这个命令运行的信息贴一下
git log --oneline
作者: fairytale147 时间: 2021-12-10 15:01
第一次编译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 作者: zyk 时间: 2021-12-10 15:17
git status .有修改过什么东西吗,lunch其它的product可以成功吗,比如rk3568_firefly_aioj-userdebug作者: fairytale147 时间: 2021-12-10 17:43
全部是下载就编译的作者: fairytale147 时间: 2021-12-11 15:49
用另外一台笔记本装了编译前面就不通过了:
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