Cocos2dx Android build error: “arm-linux-androideabi-g++: No such file or directory”

后端 未结 3 2004
温柔的废话
温柔的废话 2021-01-24 16:21

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:

         


        
相关标签:
3条回答
  • 2021-01-24 16:31

    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.

    0 讨论(0)
  • 2021-01-24 16:48

    In your NDK directory create RELEASE.txt file and enter the version, e.g.

    r11c (64-bit)

    0 讨论(0)
  • 2021-01-24 16:48

    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.

    0 讨论(0)
提交回复
热议问题