Using *.a with NDK

39 views
Skip to first unread message

Kwadwo Busumtwi

unread,
Oct 4, 2016, 2:31:51 PM10/4/16
to android-ndk
Hi,

I am new to ndk.

Anyone know how to use .a library and its functions in an android project?

Glenn Kasten

unread,
Oct 4, 2016, 3:17:48 PM10/4/16
to android-ndk

If you are using Android.mk and the .a was not built within your Android.mk, see https://developer.android.com/ndk/guides/prebuilts.html
If you are using Android.mk and you are building the .a within Android.mk, see https://developer.android.com/ndk/guides/android_mk.html

Gerry Fan

unread,
Oct 5, 2016, 12:08:40 AM10/5/16
to android-ndk
Besides Glenn's awesome doc links, there is a simple sample for this usage:
Reply all
Reply to author
Forward
0 new messages