Answer the question
In order to leave comments, you need to log in
How to include C-ish library in Android Studio?
How to include C-ish library in Android Studio? There are "c" and "h" files. How can they be connected in Android Studio?
Answer the question
In order to leave comments, you need to log in
Everything is described here and here
To bring things up to date, I will describe briefly:
You need to connect the Android NDK to the studio, create the jni folder, Android.mk and Application.mk files in the project, and set the paths to the sources in gradle. In C files, you need to export methods that should be called from java
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question