I am creating a shared library with Android NDK and now I want to create it as a static library. I assumed that all I had to do was change BUILD_SHARED_LIBRARY to BUILD_STATIC_LIBRARY in Android.mk, but now when I run ndk-build , absolutely nothing happens. It simply returns to the command line without displaying anything. I tried ndk-build -n and it shows 3 rm commands and nothing more. I tried ndk-build -B and it doesn't matter. I tried ndk-build -d and there is nothing in the output related to my source files or library name.
If I modify the make file to create a shared library, it will compile the source and link .so without any problems.
Anyone have any ideas what might be wrong?
Jim rhodes
source share