I am trying to access assets from an android apk using AAssetManager. However, I keep getting \"Undefined reference to AAssetManager_fromJava\" even though I\'ve included asset
find_library( # Sets the name of the path variable.
log-lib
# Specifies the name of the NDK library that
# you want CMake to locate.
log
)
find_library(android-lib android)
target_link_libraries( # Specifies the target library.
hll
${log-lib}
${android-lib}
# Links the target library to the log library
# included in the NDK.
)