Andorid NDK编译时遇到 execv: Exec format error make时的解决方案

编译环境: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)