Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

linphone

I am getting below error while I am trying to build Linphone for Android.

# ./prepare.py

' ./prepare.py **' commanad in terminal it giving me NDK ERROR i.e **ERROR: The following binaries are missing: ndk-build. Please install them.

How to resolve this? I have added ndk-build in Makefile already.

like image 481
tesy Avatar asked Oct 29 '22 03:10

tesy


1 Answers

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.

This is duplicate question and you can find same question here Facing this error The following binaries are missing: ndk-build. Please install them.

like image 73
kaushik parmar Avatar answered Dec 20 '22 21:12

kaushik parmar