gpt4 book ai didi

makefile - 找不到支持的 mac sdk : ["10.10" "10.11" "10.12" "10.13"]

转载 作者:行者123 更新时间:2023-12-02 19:18:33 25 4
gpt4 key购买 nike

当我尝试构建 Android Open Project Source 时,我看到错误。

ninja: no work to do.
[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
FAILED: out/soong/build.ninja
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 -o out/soong/build.ninja Android.bp

internal error: Could not find a supported mac sdk: ["10.10" "10.11" "10.12" "10.13"]

ninja: build stopped: subcommand failed.
20:17:47 soong bootstrap failed with: exit status 1

#### failed to build some targets (13 seconds) ####

我的系统版本:

macOS High Sierra v10.13.4

我的 Xcode 版本:

版本 9.3 (9E145)

谁能帮我吗?

我已经尝试过this ,但这对我不起作用。

最佳答案

/Volumes/android/build/soong/cc/config/x86_darwin_host.go 

请编辑此文件以包含您的 SDK 版本

darwinSupportedSdkVersions = []string{
"10.10",
"10.11",
"10.12",
"10.13",

或者您的 mac sdk 版本

关于makefile - 找不到支持的 mac sdk : ["10.10" "10.11" "10.12" "10.13"],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50760701/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com