cocos2d-x3.9 NDK android 环境搭建过程中遇到的错误
编译环境:Mac OS, NDK r9d
错误:arm-linux-androideabi-gcc: error trying to exec '/media/Project/adt-bundle-linux-x86-20131030/adt-bundle-linux-x86-20131030/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/as': execv: Exec format error make: *
解决方案:升级到NDK r10即可 ----备注:NDK r11 不行,会报错, 只能是NDK r10e !!! cocos2d-x3.9 看来和ndk的版本有关系.
===版本搭建过程
http://www.cocoachina.com/bbs/read.php?tid=199238