cocos2d-x编译安卓报错

D:\cocos2dx\cocos2d-x-3.10\tools\cocos2d-console\bin\cocos.bat compile -p android --android-studio --ap android-20
Updated project.properties
Updated local.properties
Updated file F:\guizhou\GYZJ_NEW\proj.android\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Updated project.properties
Updated local.properties
Updated file F:\guizhou\GYZJ_NEW\cocos2d\cocos\platform\android\java\proguard-project.txt
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersion 14 in ./AndroidManifest.xml
make.exe: Entering directory F:/guizhou/GYZJ_NEW/proj.android' [armeabi] StaticLibrary : libcocos2d.a [armeabi] StaticLibrary : libandroid_support.a [armeabi] StaticLibrary : libcocostudio.a [armeabi] StaticLibrary : libcocosbuilder.a [armeabi] StaticLibrary : libcocos3d.a [armeabi] StaticLibrary : libspine.a [armeabi] StaticLibrary : libui.a [armeabi] StaticLibrary : libcocosdenshion.a [armeabi] StaticLibrary : flatbuffers.a [armeabi] StaticLibrary : libextension.a [armeabi] StaticLibrary : libaudioengine.a [armeabi] StaticLibrary : libbox2d.a [armeabi] StaticLibrary : libnetwork.a [armeabi] StaticLibrary : libcocos2dxinternal.a [armeabi] StaticLibrary : librecast.a [armeabi] StaticLibrary : libbullet.a [armeabi] StaticLibrary : libcocos2dandroid.a [armeabi] StaticLibrary : libcpufeatures.a [armeabi] Gdbserver : [arm-linux-androideabi-4.9] libs/armeabi/gdbserver [armeabi] Gdbsetup : libs/armeabi/gdb.setup [armeabi] SharedLibrary : libcocos2dcpp.so F:/android-sdk/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: error: F:/android-sdk/android-sdk/ndk-bundle/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/thumb/libgnustl_static.a(math_stubs_long_double.o): multiple definition of 'frexpl' F:/android-sdk/android-sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/libandroid_support.a(frexpl.o): previous definition here collect2.exe: error: ld returned 1 exit status make.exe: *** [obj/local/armeabi/libcocos2dcpp.so] Error 1 make.exe: Leaving directory F:/guizhou/GYZJ_NEW/proj.android’
编译模式:debug
使用 Eclipse 工程:F:\guizhou\GYZJ_NEW\proj.android
正在执行:’“F:\android-sdk\android-sdk\tools\android” update project -t android-20 -p F:\guizhou\GYZJ_NEW\proj.android’

正在执行:’“F:\android-sdk\android-sdk\tools\android” update lib-project -p F:\guizhou\GYZJ_NEW\cocos2d\cocos\platform\android\java -t android-20’

正在执行 ndk-build…
NDK 编译模式:debug
NDK_TOOLCHAIN_VERSION: 4.9
正在执行:’“F:\android-sdk\android-sdk\ndk-bundle\ndk-build” -C F:\guizhou\GYZJ_NEW\proj.android -j8 NDK_MODULE_PATH=F:\guizhou\GYZJ_NEW\proj.android…/cocos2d;F:\guizhou\GYZJ_NEW\proj.android…/cocos2d/cocos;F:\guizhou\GYZJ_NEW\proj.android…/cocos2d/external NDK_TOOLCHAIN_VERSION=4.9 NDK_DEBUG=1’

执行命令出错,返回值:2。

Process finished with exit code 14

环境:jdk:1.8 、ndk:r10e 、cocosd2x:3.10、android:api20(安卓4.4)、android studio 最新版本
望大佬指点

别沉啊大佬们

自己查查3.10需要什么版本的sdk和环境 支不支持最新的AS等

有前人遇到过,链接 http://www.cocoachina.com/bbs/read.php?tid=1708910
内容:

应该还有大佬没有看到 再顶一下

这个试过了没用

提示了是重复定义,你按照原贴一楼的做法,更彻底一点,至少能遇到其它的报错,遇到新错误,再贴

在你的Android.mk文件中去掉LOCAL_STATIC_LIBRARIES += android_support,$(call import-module,android/support)这两句,如果提示找不到iconv,找一个iconv把文件夹拷贝到项目的cocos2d\external\下面,在Android.mk文件夹中加入LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../cocos2d/external/iconv/include  \
$(LOCAL_PATH)/../../cocos2d/external/iconv/libcharset \
$(LOCAL_PATH)/../../cocos2d/external/iconv/lib \
$(LOCAL_PATH)/../../cocos2d/external/iconv/libcharset/include \
$(LOCAL_PATH)/../../cocos2d/external/iconv/srclib \
$(LOCAL_PATH)/../../cocos2d/external/iconv \

LOCAL_WHOLE_STATIC_LIBRARIES += iconv
$(call import-module,iconv)
注意根据你自己的路径决定。看看能不能解决