Cordova apk tips

Can someone explain how to use Cordova and android studio to build an apk? I was successful building and testing it, but even though I specified to enable dom and javascript, my inputs that were written in phaser don’t work. How can I fix this?