When following the screenshots for Android Studio below, ensure you're using the versions gained from that other FAQ, rather than just copying the values shown in the images here.
You must always use the specific version(s) advised on the Required SDKs FAQ and d o not assume newer tools than we list there will be even better, as using newer SDK versions than GameMaker supports will quite possibly introduce build failures you could have easily avoided if you had followed this guide. In this article we give the required steps to set up Android (which also supports Amazon Fire devices and store releases). GameMaker Indie subscription and above includes the Android export platform.