I downloaded the latest cocos2dx(3.10) and NDK(r11). I have the following error when I executed cocos compile -p android --android-studio.
cocos compile -p android --android-studio
Error:
In your NDK directory create RELEASE.txt file and enter the version, e.g.
r11c (64-bit)