If you have installed Android Studio on your Mac or PC then you have access to the AVD Manager. This program permits you to create and run different Android Virtual Devices, and if you have followed the Android Setup Guide and used a custom install for Android Studio then it should be installed and ready to use, so you can skip down to the.
- 4# Andyroid Emulator. It is the trending Mac Android emulator which liked by the most. With open GL hardware support, this emulator is the one that is too easy to install. With the help of Andyroid Emulator, the phone can be turned into a remote control for gaming. With quick customer support, you will never find yourself deserted.
- Free Download and Install AVD Video Downloader For PC. We offer to install and using the AVD Video Downloader app on a Windows 10/8/7 PC. Also, for MacOS.
- Restart computer. Delete and recreate AVD. Change AVDs Graphic to Software (both in the AVD manager and directly in file) Reinstall Emulator in SDK manager (all possible ways - update, delete and reinstall, reinstall on demand when starting AVD) Reinstall HAXM. Reinstall Android studio. Check all Android versions in SDK manager.
The avdmanager
is a command line tool that allows you to create and manageAndroid Virtual Devices (AVDs) from the command line. An AVD lets you define thecharacteristics of an Android handset, Wear OS watch, or Android TV devicethat you want to simulate in the Android Emulator.
If you're using Android Studio, then you do not need to use this tool and youcan insteadcreate and manage AVDs from the IDE.
The avdmanager
tool is provided in the Android SDK Tools package (25.3.0 andhigher) and is located in android_sdk/tools/bin/
.
Syntax
Global options
Global option | Description |
---|---|
-s | Silent mode: only errors are printed out |
-h | Usage help |
-v | Verbose mode: errors, warnings and informational messages are printed. |
Commands and command options
Command and options | Description |
---|---|
create avd -n name -k 'sdk_id' [-c {path|size}] [-f] [-p path] | Create a new AVD. You must provide a name for the AVD and specify the ID of the SDK package to use for the AVD using sdk_id wrapped in quotes. For example, the following command creates an AVD named
|
delete avd -n name | Delete an AVD. You must specify the AVD with name. |
move avd -n name [-p path] [-r new-name] | Move and/or rename an AVD. You must specify the AVD with name. The following describes the usages for the other options:
|
list [target|device|avd] [-c] | List all available targets, device definitions, or AVDs. If you do not specify target , device , or avd , avdmanager lists all three. Include the -c argument to receive a compact output, suitable for scripts. The -c argument is not available when listing all three options together. |
The Device Manager is accessed by clicking on the pencil button within the Target List:
Clicking this button will open the Device Manager where you can configure different devices for the target platforms that you wish to compile and test on (note that the platforms available will depend on the Licence that you have and not all of them may be visible). Below you can find details on configuring devices for each of the target platforms:
Here you can click on the Add New Device button to add a new Android device to the list manually, or you can click the Detect Device button to have GameMaker Studio 2 automatically detect any devices connected through a wired connection. You can also set up an Android Virtual Device by clicking the button marked Run AVD. This will open up the Android Virtual Device manager where you can create a new AVD (see here for more information). Once you have one created, you need to launch it from the AVD manager and then in GameMaker Studio 2 click on the Detect Device button and it should be added automatically to the device list:
Once you have a device added, you can then check the connection using the Test Connection button or remove it from the list again by clicking the Remove Device button.
The HTML5 device manager is for adding different browsers to the device list for targeting when running. To start with, you should click the Detect Browsers button, which should create devices for each of the installed browsers on your machine. If your browser is not listed, you can also click the Add New Browser button and then give the device a name and point GameMaker Studio 2 to the path for the browser executable.
The additional available fields can be set up to help control how the browser runs your projects, with the following options available:
- Browser Command Line Arguments: Here you can add in any command line arguments to be appended to the browser path. You can find a list of these from the following links to the main popular browsers:
- Web Server Address: The address of the web server to target (default is 127.0.0.1). You may need to change this depending on the specifications of different APIs, for example, Facebook would require this top be set to http://localhost (and then have that whitelisted on their app console).
- Web Server Port: Set the port number for the web server (default is 51264).
- Allowed Web Server IPs / CIDR IP Ranges: Set the allowed web server, hostnames and CIDR IP ranges as required.
Before you can set up your iOS devices, you must have set up your Mac device and tested it's connection (see below for details). Once that is done you can select the Mac that you want to target from the drop down menu at the top of the window and then click the Detect Device button to have GameMaker Studio 2 automatically find any connected iOS devices, including simulators. Once connected, the device details will be shown in the list in this window, and you can edit the device name to make it more user friendly (this change only affects how the device is presented in the Target Manager and nothing else).
Before you can set up your tvOS devices, you must have set up your Mac device and tested it's connection (see below for details). Once that is done you can select the Mac that you want to target from the drop down menu at the top of the window and then click the Detect Device button to have GameMaker Studio 2 automatically find any connected tvOS devices, including simulators. Once connected, the device details will be shown in the list in this window, and you can edit the device name to make it more user friendly (this change only affects how the device is presented in the Target Manager and nothing else).
To add a Mac device to the manager, you must first click on the button labelled Add New device which will add the device and create some blank fields which you will need to fill in to enable the connection. First you need to name the device so that you can identify it in the target list and then give the host name (or IP) of the Mac. You must then give the username of the user that you wish to link to, and the password that they used. If you wish, you can also change the Install Folder on the Mac to wherever you would prefer GameMaker Studio 2 to store the build files for your projects.
When that is all done, you can click on the Test Connection button to make sure that GameMaker Studio 2 can communicate with the Mac.
To add an Ubuntu (Linux) device to the manager, you must first click on the button labelled Add New device which will add the device and create some blank fields which you will need to fill in to enable the connection. First you need to name the device so that you can identify it in the target list and then give the host name (or IP) of the Ubuntu machine (or VM). You must then give the username of the user that you wish to link to, and the password that they used. You are also required to give a folder on the Ubuntu machine that you want to use for installing your projects. and when that is all done, you can click on the Test Connection button to make sure that GameMaker Studio 2 can communicate with the Ubuntu machine.
Before you can add a device for the Windows 10 UWP target, you need to have set up the Device Portal on the device. If you do not do this, GameMaker Studio 2 will not be able to communicate with the device nor properly create your UWP apps.
The easiest way to enable Developer Mode is to simply type 'Developer Mode' into Windows Search and then click the 'Settings' entry that will be shown. This will open the following window:
You need to select the Developer Mode option (which may require that Windows downloads and installs some additional packages), and then select the option beneath that, Enable Device Portal. The device portal is what will permit GameMaker Studio 2 to communicate with the Windows 10 PC, and when enabled you will be required to give a Username and Password:
Note that the username and password should be unique to the portal and must not be those used by your Microsoft Account or other Windows credentials. Once you have given this information, click the button labelled apply and then close the settings manager and go back to GameMaker Studio 2.
For more information on the Device Portal please see this Microsoft Article: Device Portal For Desktop.
You can now open the Device Manager in GameMaker Studio 2 and set up a device (or devices) for use:
To add a Windows 10 UWP compliant device to the manager, you must first click on the button labelled Add New device which will add the device and create some blank fields which you will need to fill in to enable the connection. First you need to name the device so that you can identify it in the target list and then give the host - this is the IP address of the Windows 10 device on the network that is to host the game and must be suffixed by ':50443' to set the port number. After that add the User Name and Password that you set up in the Device Portal (as mentioned previously). You can leave the PIN blank as it is not required for UWP Windows 10 Desktop.
Avd Manager Mac M1
For more specific setup details that cover the different UWP outputs (Desktop, Mobile and XboxOne) please see the YYG helpdesk: Setting Up UWP
All the different device windows have an option at the bottom to Clear Devices which, when clicked, will remove all the connected devices from the list.
Once you have set up your devices, you can then connect to any one of them from the Target options at the top of the GameMaker Studio 2 IDE and testing/building your game will push the project to that device: