2017-09-19 2 views
0

다음 안내문 (https://buckbuild.com/setup/getting_started.html)에 따라 벅 샘플 프로젝트를 빌드 할 때 다음 오류가 발생합니다. source.properties에 따라 ~/.profile에Android BUCK 빌드 오류

export ANDROID_NDK_REPOSITORY=/Users/tm/Library/Android/sdk/ndk-bundle 

버전에서

BUILD FAILED: No native platforms detected. Probably Android NDK is not configured properly. 

저장소 설치는 NDK-번들 디렉토리에 파일.

Pkg.Revision = 15.2.4203891 
.buckconfig 파일

NDK 설치

[ndk] 
ndk_version = 15.2.4203891 
당신은 buck 명령을 실행할 때 환경 ANDROID_NDK_REPOSITORY 변수가 포함되어 있는지 확인해야합니다

답변

0

: 또한

echo $ANDROID_NDK_REPOSITORY 

/Users/tm/Library/Android/sdk/ndk-bundle 디렉토리가 포함되어 있어야합니다 하위 디렉토리 android-ndk-r15에는 NDK v15가 포함되어 있으므로 예를 들어 source.properties에 thi s 위치 : /Users/tm/Library/Android/sdk/ndk-bundle/android-ndk-r15/source.properties.

관련 문제