android6.0/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin/../lib/gcc/arm-linux-androideabi/4.9.x-google/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status
android.mk
LOCAL_LDLIBS += -lpthread
include $(BUILD_SHARED_LIBRARY)
修改为:
LOCAL_LDLIBS += -pthread
include $(BUILD_SHARED_LIBRARY)