I am using Android NDK to create a library. Everything was fine with me, but then I needed to change the name of the package referenced by the library. I tried to create the library again as soon as I made the changes by calling ndk-build in my folder, but this is the only result I get, and it doesn't seem to be fully built:
C:\my-app\jni>ndk-build -B "Compile++ thumb : filters <= filters.cpp C:/a-fa-outsidelands//jni/filters.cpp:4:28: fatal error: android/bitmap.h: No such file or directory compilation terminated.
This leads to an unsatisfied communication error when trying to start the application. I will post my .mk file, but I donβt think it is important, because my previous library worked with this .mk file. I am doing rebuild (-B option) because it is above the previous build. Any suggestions? Here is my .mk file:
LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := filters LOCAL_SRC_FILES := filters.cpp LOCAL_LDLIBS := -lm -llog -ljnigraphics include $(BUILD_SHARED_LIBRARY)
Thanks for the help.
source share