Error on build (Android Studio 3.2.1)


I have followed the instruction and I’m encountering build errors, logs are attached below:

Task :core:goBuild FAILED
Make standalone toolchain for ARM arch
src/overture/make.bash: line 31: /ndk-bundle/build/tools/ No such file or directory
Make standalone toolchain for ARM64 arch
src/overture/make.bash: line 37: /ndk-bundle/build/tools/ No such file or directory
Make standalone toolchain for X86 arch
src/overture/make.bash: line 43: /ndk-bundle/build/tools/ No such file or directory
~/Workspace/shadowsocks-android/core/src/overture/src/ ~/Workspace/shadowsocks-android/core
Get dependences for overture
Cross compile overture for arm


fork/exec /Users/xxx/Workspace/shadowsocks-android/core/src/overture/.deps/android-toolchain-21-arm/bin/arm-linux-androideabi-clang: no such file or directory

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:core:goBuild’.
    Process ‘command ‘sh’’ finished with non-zero exit value 255

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at

58 actionable tasks: 5 executed, 53 up-to-date

Having read all the issues that have the similar errors, I have also confirmed that my NDK_HOME has been correctly set, my path variable is as follows:

export ANDROID_HOME=~/Library/Android/sdk


export PATH=$PATH:$ANDROID_HOME/tools/bin

export PATH=$PATH:$ANDROID_HOME/platform-tools

export ANDROID_NDK_HOME=~/Library/Android/sdk/ndk-bundle

OS: macOS 10.14
go lang version: 1.11.2

Could anyone point out what else I’m doing wrong here?