Sorry, it’s my mistake at the last weekend. You must using the edge version from github.
Please modify the cocos2dx/android.mk, drag to read the end of this file. My fault is make ndk-r5 as the default config here. Change to
#it is used for ndk-r4
LOCAL_LDLIBS := -L$(LOCAL_PATH)/platform/third_party/android/libraries \
-lGLESv1_CM -llog -lz \
# it is used for ndk-r5
# because the new Windows toolchain doesn't support Cygwin's drive
# mapping (i.e /cygdrive/c/ instead of C:/)
# LOCAL_LDLIBS := -L$(call host-path, $(LOCAL_PATH)/platform/third_party/android/libraries) \
# -lGLESv1_CM -llog -lz \
# -lpng \
# -lxml2 \
# -ljpeg \
And then, you can compile it successfully on ndk r4 crystax version.
A better choice is to use our stable version, 0.8.1