============================================ [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
时间: 2023-12-03 17:02:58 浏览: 389
这是一个错误提示,似乎在编译 Android 应用时出现了问题。你需要检查一下 Android.bp 文件中的依赖项,特别是 libgpSample2TA.qti 和 libGPComm.qti 依赖的 libGPTEE_system.qti 和 libGPMTEEC_system.qti 是否已经正确定义。另外,你也需要确保 Clang SA 已经被启用。如果以上方法无法解决问题,你可以尝试重新编译或者查看更详细的错误日志来定位问题。
阅读全文