尝试按照这些说明 ( https://buckbuild.com/setup/getting_started.html )构建 buck 示例项目时出现以下错误。
BUILD FAILED: No native platforms detected. Probably Android NDK is not configured properly.
~/.profile 中的存储库设置
export ANDROID_NDK_REPOSITORY=/Users/tm/Library/Android/sdk/ndk-bundle
根据 ndk-bundle 目录中的 source.properties 文件的版本。
Pkg.Revision = 15.2.4203891
.buckconfig 文件中的 NDK 设置
[ndk]
ndk_version = 15.2.4203891