Android ndk freetype2

I am trying to add freetype2 support in Android NDK.

I have successfully created the library, but how to include it in the Android.mk file?

+4
source share
1 answer

At the beginning:

include $(CLEAR_VARS) LOCAL_MODULE := libFreeType LOCAL_SRC_FILES := jni/$(TARGET_ARCH_ABI)/libFreeType.a include $(PREBUILT_STATIC_LIBRARY) 

Later:

 LOCAL_STATIC_LIBRARIES += FreeType 
+1
source

Source: https://habr.com/ru/post/1415604/


All Articles