Building Android Ndk In Eclipse In Ubuntu
I'm new in Ubuntu 13.04 and I'm trying to build ndk in my app. I'm using below command in terminal. cd workspace/my_app <---- my app location ndk-build But it says 'ndk-build
Solution 1:
- figure out the location of your ndk-build binary
add the path to your PATH environment variable by executing this command in the shell:
export PATH=$PATH:/path/to/your/ndk-build-binary
for example if it is in your downloads folder as you've written it would look something like this (be sure to take care of lower-case and upper-case as linux is case sensitive with file and directory names - so it might be
Downloads
instead ofdownloads
in your case):export PATH=$PATH:~/downloads/android-ndk-r9/
then it is possible for you to execute ndk-build from your workspace/my_app
directory
Solution 2:
try to call the command ndk-build using the path of the location of ndk
path of your ndk/ndk-build
Post a Comment for "Building Android Ndk In Eclipse In Ubuntu"