1. add -static -fPIC to .a lib build compile flags 2. android so Android.mk LOCAL_CFLAGS += -shared -fPIC LOCAL_LDFLAGS += -shared -fPIC 3. shell@armeabi$ eu-findtextrel xx.so either the file containing the function 'abcd' or the file containing the function '__cxa_thread_atexit' is not compiled with -fpic/-fPIC ... fixed build option until shell@armeabi$ eu-findtextrel xx.so eu-findtextrel: no text relocations reported in 'xx.so' shell@armeabi$
4. so you can run project at android 6.0 + sdk23 OK