![]() ![]() aar file to an Android project?Ĭlick File > New > New Module and choose Import. You can download more NDK Gradle project samples from How to import. To enable NDK integration for building JNI applications, use the new experimental plugin of Gradle instead of the original plugin.Ĭreate a new module barcode with JNI folder and dbr.c:Īpply plugin: '' model īuild debug and release version with Gradle: ![]() Shared library libdbr.so and barcode.aar bundle Makefile Android.mk: LOCAL_PATH:= $(call my-dir) Referring to the NDK sample two-libs, quickly create libtwolib-first.a with ndk-build. Write JNI code and create a shared library *.so in Android Studio with the static library. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |