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/toolc
Solution 1:
In your NDK directory create RELEASE.txt file and enter the version, e.g.
r11c (64-bit)
Solution 2:
I also had the same problem and I solved it by downgrading my NDK to the 10 version. I think Cocos2d-X may not be compatible with the NDK 11, since the RELEASE.txt file is missing from it.
Solution 3:
I started with NDK 11 which didn't work. Possible problem as you told is RELEASE.txt doesn't exist for that but then I downgraded to NDK 10e, still didn't work even though RELEASE.txt was present. Then I had to downgrade to NDK 9d which worked without any modifications.
Post a Comment for "Cocos2dx Android Build Error: "arm-linux-androideabi-g++: No Such File Or Directory""