Bobert
Bobert

Reputation: 276

Android Gradle add native library

I would like to include a native library in an Android project in gradle. This comes from: Libjitsi https://github.com/jitsi/jitsi-android.

The file I need to include is libjnopensles.so.

Upvotes: 1

Views: 210

Answers (1)

SebSer
SebSer

Reputation: 194

create a directory named "jniLibs" in "main" directory and put the file in the right abi directory (arm64-v8a / armeabi-v7a / x86 / x86_64), example:

main/jniLibs/arm64-v8a/libjnopensles.so

Upvotes: 1

Related Questions