How to cocos2d-x build c++ to android?

I wondering how to cocos2d-x build c++ to android? Does it convert c++ into java? I need write a document for my university article?

This: https://developer.android.com/ndk/index.html
https://en.wikipedia.org/wiki/Android_software_development#Android_NDK
The good thing about programming in c++ is the cross-platform capability.

@Undume thanks.its very useful :slight_smile: