Hi.
I just checked to build a simple project (stable version r397.2) through android studio, all without problems.
Presumably if you want to build yourself via android studio or cordova you need to already have minimal knowledge. For example, watch the video tutorial and learn how to create and build a simple program yourself. But it's not complicated and everything can be found through search.
I recommend checking whether the necessary APIs for android are loaded, the studio should offer to download the rest.
ibb.co/Gxjf9j7