skip to Main Content

dlopen failed for prebuilt so file at Android Studio

I am making an app with android studio. There is a problem trying to use external prebuilt so. main/cpp/CMakeLists.txt was declared as follows. add_library(ace SHARED ace.cpp) add_library(banana SHARED IMPORTED) set_target_properties(banana PROPERTIES IMPORTED_LOCATION ${CMAKE_SOURCE_DIR}/../jniLibs/${ANDROID_ABI}/libbanana.so) target_link_libraries(ace banana) And then I get the…

VIEW QUESTION
Back To Top
Search