[100% 1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja FAILED: out/soong/build.ninja cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp.list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used Android.bp nxmediaplayermanager init start nxmediaplayerwrapper init start display_client Include_dirs: [vendor/huanglong/uapi/dispmng/include vendor/huanglong/uapi/pdm/include vendor/huanglong/linux/include/generic vendor/huanglong/uapi/include/video vendor/huanglong/uapi/vo/include vendor/huanglong/uapi/panel/include vendor/huanglong/uapi/include/cec vendor/huanglong/uapi/pmoc/include vendor/huanglong/uapi/gpio/include vendor/huanglong/uapi/ir/include vendor/platform/secure_c/include] error: frameworks/base/cmds/bootanimation/Android.bp:36:1: "bootanimation" depends on undefined module "skybootanimation_defaults" ninja: build stopped: subcommand failed. 05:59:24 soong bootstrap failed with: exit status 1
时间: 2023-08-18 13:05:50 浏览: 827
这个错误提示与之前的错误提示很相似,也是因为 "bootanimation" 模块依赖了一个未定义的模块 "skybootanimation_defaults"。所以,解决方法也与之前类似。
你需要检查以下几个方面:
1. 检查是否有名为 "skybootanimation_defaults" 的模块存在。如果不存在,则需要添加该模块。
2. 检查 "skybootanimation_defaults" 模块的路径是否正确。如果路径错误,也会导致找不到该模块的错误。
3. 检查 "bootanimation" 模块的依赖是否正确。如果依赖的模块名称或路径错误,也会导致找不到模块的错误。
一般来说,这种错误提示都是由于模块依赖关系配置不正确引起的。检查以上几个方面,应该可以解决这个问题。
相关问题
out/soong/.bootstrap/bin/soong_build -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja Android.bp
这是一个命令行指令,用于构建 Android 系统的源代码。具体来说,它使用了名为 Soong 的构建系统来解析 Android.bp 文件,生成相应的 Ninja 构建文件,最终生成 Android 系统的各个组件和模块。该指令包含了一些参数,比如 -t 表示输出构建时间,-l 表示指定 Android.bp 文件的位置,-b 表示指定 Soong 输出构建文件的位置等等。
============================================ [100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.ninja FAILED: out/soong/build.ninja cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && "$BUILDER" --top "$TOP" --soong_out "out/soong" --out "out" -o out/soong/build.ninja --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.build Android.bp Clang SA is not enabled error: vendor/qcom/proprietary/commonsys/securemsm/GPSample/app/src/main/cpp/Android.bp:92:1: "libgpSample2TA.qti" depends on undefined module "libGPTEE_system.qti" error: vendor/qcom/proprietary/commonsys/securemsm/GPSample/app/src/main/cpp/Android.bp:92:1: "libgpSample2TA.qti" depends on undefined module "libGPMTEEC_system.qti" error: vendor/qcom/proprietary/commonsys/securemsm/GPSample/app/src/main/cpp/Android.bp:68:1: "libGPComm.qti" depends on undefined module "libGPTEE_system.qti" error: vendor/qcom/proprietary/commonsys/securemsm/GPSample/app/src/main/cpp/Android.bp:68:1: "libGPComm.qti" depends on undefined module "libGPMTEEC_system.qti" ninja: build stopped: subcommand failed. 18:01:10 soong bootstrap failed with: exit status 1
这是一个错误提示,似乎在编译 Android 应用时出现了问题。你需要检查一下 Android.bp 文件中的依赖项,特别是 libgpSample2TA.qti 和 libGPComm.qti 依赖的 libGPTEE_system.qti 和 libGPMTEEC_system.qti 是否已经正确定义。另外,你也需要确保 Clang SA 已经被启用。如果以上方法无法解决问题,你可以尝试重新编译或者查看更详细的错误日志来定位问题。
阅读全文