How to make an Android app from Game Maker: Studio

written by: supernova

Interested making your own mobile phone app? As a start up, Android app is the easiest one to debug and build compares to Windows Phone and iOS. This is a guide how to build an Andrid app!

Materials
Setup
Setup Debugging
Debugging the game
Build the game

Things you will need:






Set it up!






Set up for Android debugging

Wanna test your game on your Android phone instead on the computer? This sections covers how to set up your Android/computer for debugging! If you don't wish to debug on your phone, which is not recommended, skip to the next section.






Testing your game

Once all of your stuffs are properlly set up. It's time to make your own game and test it! Before you debug, select Target > Android.

Then click the green debug button to test your game! Make sure your Android is not locked nor busy! If anything fails, double check for errors! This window below shows you that the game is debugging on your Android device:



Once you're running the game, check for bugs/glitches on your game. There are many helpful recources at YoYo Games Community. If your game runs on keyboard, don't forget to add on screen keyboard.

example in Draw GUI action for virtual keyboard:
virtual_key_add(0,display_get_height()-200,200,200,vk_left);







Baking your final product

Before you compile your Android app, Make sure all of the blanks are properlly filled up. Custom icons and Splash screen are highly recommended. On the graphics tab, it's recommended to support ONLY to devices with GPU. For texture pages, the higher the better framerate, the lower the better performance. Also, make sure properlly set up the permissions for your game!

Once your game is fully tested and on your Android with no issues, it's time to compile it! Simply click an icon where you create executables for target or File > Create Application. This process should take about 1-15 minutes depending on your computer speed.

Once the green run button and the create executable button is no longer greyed out, and there's no error message in the compile messages. Your game (.apk file) is fully compiled at the folder you saved! Help yourself testing your final product!

Built an original game? Why not share it on Google Play for free or sell it? You have to pay $25.00 (just once) for publishing your Android apps. Simply go to Google Play Developer and register your account!

Follow the steps Google provide you and make sure all of the required form are selected! Once you got everything done and uploaded your Android .apk file, press Publish button on the top right and your game should take couple of hours to get listed in the store!