My project uses NDK r10d for the c++ code. When I compile the project with API19 it works great, but when I compile it with API21 it crashes on runtime.
When the c lib is loaded I get:
dlopen("/data/app-lib/com.my.app-2/libMyCode.so") failed: dlopen failed: cannot locate symbol "stpcpy" referenced by "libMyCode.so"...
Then it crashes on:
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "stpcpy" referenced by "libMyCode.so"...
I use OnePlus One running Android4.4.4 to test it on both cases.
Any ideas?