How we can configure the haxe in android studio and make a simple gaming apk?
To code Haxe in Android Studio which is based on IntelliJ you can install the Haxe plugin https://plugins.jetbrains.com/plugin/6873-haxe-toolkit-support
To create games in Haxe targeting Android, you can e.g. use OpenFL or HaxeFlixel.