When I build the Bento4 library from Android Studio, I get an undefined reference to 'AP4_Ac4SampleDescription::_class_AP4_Ac4SampleDescription' error.
Overall there are like 5 cmake commands for Bento4 for different platforms. Here are the 2 for Linux and Android:
Basic Linux:
cmake -DCMAKE_BUILT_TYPE=Release ..
Android NDK: cmake -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DANDROID_ABI=$ABI -DANDROID_NATIVE_API_LEVEL=$MINSDKVERSION ..
It builds fine with the basic Linux version.
What might be the cause for the Android version not working? Please note: I tried a few different version of the Android NDK. I get the one error for versions 16 and 17, and another error for versions 18 through 21.