Category : android-build

I am trying to add an external static library to my android project based on this post: Android: Linking a external static C/C++ Library in Android Studio name of the file is liblogger.a and I added the following lines in CMakeList.txt: add_library(logger_lib STATIC IMPORTED) . . . set_target_properties(logger_lib PROPERTIES IMPORTED_LOCATION ${SPICABASE}/include/liblogger.a) . . . target_link_libraries( ..

Read more