While trying to develop Hello World NDK program on Ubuntu with following parameters
- sdk path is
/home/gufran/ADT2/sdk
- ndk path is
/home/gufran/ADT2/android-ndk-r10e
I have successfully generated com_appxperts_firstndkapp_MainActivity.h
and also MyJNI.c
. Now I would like generate the .so files with command
home/gufran/ADT2/android-ndk-r10e/ndk-build.cmd
but its giving error
bash: home/gufran/ADT2/ndk/ndk-build.cmd: No such file or directory
Also tried
ndk-build.cmd
still error
ndk-build.cmd: command not found
Please note the NDK path is already set as
gufran@gufranKhurshid:~$ export NDK_HOME=home/gufran/ADT2/android-ndk-r10e