Just like the title said. For example, I have a external static library "abc.a" for JUCE project. It isn't a Android native library. In order to link this static library and compile the project successfully, I copy the library into "../Builds/Android/jni/", and modify the file "Android.mk":
After line 4, add:
include $(CLEAR_VARS) LOCAL_MODULE := abc LOCAL_SRC_FILES := abc.a include $(PREBUILT_STATIC_LIBRARY)
Before the last line, add:
LOCAL_STATIC_LIBRARIES := abc
By this way, it works fine. The problem is, whenever I save the project in Introjucer, I'll have to modify the file "Android.mk" once more. I think perhaps Introjucer's build-settings of Android project also could do this and generates the above code automatically.
Unfortunately, I can't firgure out which property I should to fill in and what the correct value must be set to. After tried many, many times, I still have no any luck.
Could anyone give me some clues or prompts?
Thanks in advance.