Facing this error The following binaries are missing: ndk-build. Please install them


I'm trying to build ' linphone-android ' .

<a href="https://github.com/BelledonneCommunications/linphone-android" rel="nofollow">link to git repo </a>

Somehow i manged to resolv all the bugs but now i'm stuck at when i try to run ' <strong>./prepare.py **' commanad in terminal it giving me NDK ERROR i.e **ERROR: The following binaries are missing: ndk-build. Please install them.</strong>

I have ndk path in .bash file also but unable to resolve this error.

Please share some solution Thanks :)


I am assuming that you have added android-sdk and android-ndk path in your environment. If not then you can add sdk and ndk path using below command.

export PATH=/Users/kaushik512/Library/Android/sdk/platform-tools/:/Users/kaushik512/Library/Android/sdk/tools/:/Users/kaushik512/Downloads/android-ndk-r12b/:/nobackup/local/prog/nasm/bin:$PATH export PATH=/opt/local/bin/:$PATH

after adding path check using echo $PATH.

Add above in PATH and see if issue resolved.


Do check the version of ndk in your android studio. I was facing the same problem and my ndk version was 16 so I changed it to 15 it worked but also I made the project again and followed the steps one by one as given in the repository, the same link that you have provided.

Hope that helps.


  • Crittercism on Android with NDK?
  • Relation between the NDK version and the Android version
  • Android-Ndk vs Cross-Compile? Both work ,What was the need of Android NDK then ?
  • cmake MSYS Makefiles generator missing
  • How can I decompile Linux binaries from Windows?
  • OpenCL bytecode running on another card
  • Viewing MJPEG Video Streams
  • Gem not installing package
  • How to run bash commands like “npm install” on complie
  • how to make vpython .exe using pyinstaller
  • How can I get the full list of running processes on a Mac from a python app
  • OSX - always hide certain files
  • How to use jQuery's $.post() method with async/await and typescript
  • Compiling dlib on OS X
  • Overlapping controls in Windows XP
  • Get specific string
  • How to generate and display a QR Code in ionic 2
  • Android application: how to use the camera and grab the image bytes?
  • How to revert to previous XCode version?
  • Unable to install Git-core+svn by MacPorts
  • Unable to decode certificate at client new X509Certificate2()
  • How to get Eclipse Oxygen to run on Java 9
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Setting up SourceTree to merge unity3d scenes with UnityYAMLMerge
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • The plugin 'org.apache.maven.plugins:maven-jboss-as-plugin' does not exist or no valid ver
  • Launch Runnable Jar from Web Start
  • Get object from AWS S3 as a stream
  • script to move all files from one location to another location
  • ILMerge & Keep Assembly Name
  • Symfony2: How to get request parameter
  • Why winpcap requires both .lib and .dll to run?
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Why joiner is not used after Sequence generator or Update statergy
  • coudnt use logback because of log4j
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • File not found error Google Drive API
  • Is it possible to post an object from jquery to bottle.py?