I am trying to compile these library into my android code https://sdk.dronecode.org/en/contributing/build.html . This library has C/C++ written code. Therefore NDK will be used here.
When I try to hit the command sudo make android install
I get this error:
Makefile:152: *** NDK_ROOT is undefined, please point the environment variable to android-ndk root.. Stop.
I have set the environment variable into my .bashrc file . But still getting this error, please help me out to get this compiled. I am using ubuntu 16.04. I have checked the other links "NDK_ROOT not defined. Please define NDK_ROOT in your environment" but couldn't helped much.