How do you add an existing .so library to an Android Studio project?

前端 未结 2 1318
粉色の甜心
粉色の甜心 2021-01-20 22:05

There are several sources out there that say you should create a directory in src/main/ called jniLibs/armeabi and add your compiled .so file to this location. Then load you

2条回答
  •  没有蜡笔的小新
    2021-01-20 23:07

    Turns out I can still call the jni methods even though there is an error saying "Cannot resolve corresponding JNI function".

提交回复
热议问题