When ready, click the "Apply" button to accept the licences and then download the SDK components, and don't forget to take note of the Android SDK Location value written at the top of the window. We recommend that you always tick Hide Obsolete Packages and Show Package Details, as you do not need to download everything for an API to make it work with GameMaker - you only need the "Android SDK platform" bit for each API you wish to install, as shown here:
This will open the window where you can select and install the platform SDKs that you require - typically, you only need the one API version we say to use on the Required SDKs FAQ, however if you are using extensions in your project then these third-party SDKs may require you to install additional packages later on. On the home screen, click the menu labelled More Actions and in the drop-down menu select SDK Manager. Install The Android SDK Tools You Require Once you have set the shorter SDK install path (if on a PC) and your chosen components are installed, Android Studio will then shortly start up. YoYo also won't offer any Helpdesk ticket support for bugs found when testing games on emulators - we only offer support when running on real devices. You can install this if you wish, but please note that the emulators are only compatible with some CPU architectures, so they may refuse to install, and emulators are never a replacement for real device testing anyway. You can see that this screen also gives you the option to install AVD emulators if your PC supports them. Note that you cannot just edit the path here - you have to click the little folder button on the right and navigate through to your desired location (creating the folder, if required). Now, it gives you the option to set the path to the install folder. To do this, start the Android Studio Installer and choose Custom and click Next. Ignoring this advice and still putting whitespace in your path will cause Android Studio to warn you this can cause issues when using the NDK tools (which therefore means all YYC builds inside GameMaker may fail), so just avoid doing this. To start working with your Android/Amazon devices you will need to download and install Android Studio.Īllow it to install with the default components it suggests for your PC/Mac, but when it asks you where you want to install your SDK, please be aware that Google's path names can get very long, which can cause issues with Window's path length limit of 256 characters, so we would highly recommend installing as close to the root folder of your drive as possible AND not using any whitespace - e.g: " C:\AndroidSDK" for your Android Studio path - in order to avoid errors later on, when building your projects.įor Mac IDE users, we would still recommend using a nice and memorable short path also, but it's less important that you do so. Please first read the Required SDKs FAQ to know which version of Android Studio you need (depending on your version of GameMaker), as the latest releases of Android Studio may not always be supported. Regardless of the output that you select, you will need to add some extra build tools to your development computer before you can continue. The performance of this target is less optimised than YYC, but it is faster to compile and offers the ability to run in debug mode (when using YYC the debugger will not start). The YYC target however, gives a performance boost, especially with logic-heavy games, but large projects can take some time to compile and you cannot use the debugger.
The VM option will build your game and use interpreted code within a special YoYo Runner. YYC - This will build your game using compiled native code.VM - This will build your game using interpreted code.
We would also strongly suggest you do not install beta SDK/tools versions! Overview / Before You BeginĪfter installing and running GameMaker on your PC or Mac you can build projects for Android using the Target Manager window, opened by clicking the "target" button in the top right of the main window:įor the target platform you can see that there are two output options:
Note that whenever possible you should stick to the specific versions advised in the Required SDKs FAQ, as newer SDK versions than we state there are likely to be unsupported - Google do update the SDK/NDK pretty frequently, so be careful when updating. 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.