How can I use Android Studio together with cocos2d-x? Any hints?

Have a look to my post.

I am trying to build cocos2dx using gradle and full NDK support. Any help would be very apreciated.