I am using the master branch (fresh checkout) to get a new Android app going, and have run into the following issue on App launch:
01-23 19:11:32.756: I/OF(5736): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
01-23 19:11:32.756: E/art(5736): dlopen("/data/app/cc.openframeworks.androidEmptyExample-1/lib/arm/libOFAndroidApp.so", RTLD_LAZY) failed: dlopen failed: could not load library “libc++_shared.so” needed by “libOFAndroidApp.so”; caused by library “libc++_shared.so” not found
Exact steps have been:
- git clone openframework
- run scripts/android/download_libs.sh
- update paths.make with NDK location
- Import openframeworks, ofxAndroid & androidEmptyProject
- Build / run on device
- Project compiles, links and installs without error.
Note: I checked config.android.default.mk, and the folder holding libc++_shared.so is included in LDFLAGS, i.e:
PLATFORM_LDFLAGS += --sysroot=$(SYSROOT) -L"$(NDK_ROOT)/sources/cxx-stl/llvm-libc++/libs/$(ABI_PATH)"
- running on os-x (10.12)
Any hints would be much appreciated.