Have a look to my post.
I am trying to build cocos2dx using gradle and full NDK support. Any help would be very apreciated.