Cocos2dx Android build error: “arm-linux-androideabi-g++: No such file or directory”
I downloaded the latest cocos2dx(3.10) and NDK(r11). I have the following error when I executed cocos compile -p android --android-studio . Error: ~/AndroidDev/android-ndk-r11/toolchains/arm-linux-androideabi-4.8/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-g++: No such file or directory Then I found in NDK Revision History here for r11 the following: Removed GCC 4.8. All targets now use GCC 4.9. Are there workarounds to switch cocos2dx settings to 4.9? In your NDK directory create RELEASE.txt file and enter the version, e.g. r11c (64-bit) I also had the same problem and I solved it by