If you’ve already installed a Unity version though you can always go back and add the VS dev tools module after the fact. It’s easiest to have Visual Studio installed before before installing your Unity version so that when Unity installs it installs the VS dev tools. I recently set up Unity on a new laptop and things went fairly smoothly so I thought I’d document the process to try to help others out.
The first time I tried writing a mobile game using Unity I found it took me way too long to get things set up where I could actually debug code running on the Android device. You should see the name of your emulator appear as an Android device.Using Visual Studio to debug a Unity game on Android device
On the main toolbar, select the Android device in the dropdown list next to Run.
Katalon Studio will detect and ask you to install Android SDK automatically if your current machine does not have it. To check whether Katalon successfully recognizes your Android emulator, you can open a Mobile Testing Sample Project in File > New sample projects > Sample Android Mobile Tests Project. Verify successful Android devices connection Īfter launching the emulator, Katalon automatically recognizes the emulator as an Android device. If you want to run the emulator via the command-line option, you can refer to the Android developer document here: Start the emulator from the command line. To launch an emulator, open the Device Manager, select the emulator you want to launch, then click Run. A new emulator appears in the Device Manager. The Verify Configuration page appears.Ĭhange the default name of your emulator if necessary, then click Finish. To learn more about the supported environment in Katalon Studio, you can refer to this document: Supported environment.Īfter choosing the system image, click Next. Katalon Studio can only support Android version 6.0 or above.
After clicking Download, you need to accept Android Software Development Kit License Agreement, then click Next to start downloading.
Pie is the code name for Android version 9.0 and API level 28.
If you see Download next to the system image you select, you need to click it to download its necessary components.įor example: We choose the Pie Android version with an x86 system image. Select the system image you want to test. To learn more about Android versions and the corresponding API levels, you can refer to the Android developer document here: Understanding Android API levels. The Select system image page opens, asking you to select the system image for a particular API level or an Android version. After selecting the hardware, click Next. To get an overview about screen variations, you can refer to this Android developer document: Screen compatibility overview. The Select Hardware page opens, allowing you to choose your emulator's screen size, resolution, and pixel density.
An Android Virtual Device Manager opens.Ĭlick Create Device. In the main toolbar of the new project window, select Device manager. If you want to learn more about building an Android app, you can refer to this Android developer document: Build a simple user interface. A new project window opens containing sample files to build an Android app. To learn more about Android support libraries, you can refer to the Android developer document here: Support librariesĬlick Finish. If your app requires legacy library support, check this box. The lowest version of Android supported by your app You can select either Java or Kotlin from the dropdown menu. In case you want to change the default location, click Browse (folder icon). In the next interface, you can configure your project as follows: Nameīy default, this is generated as com.example. Here, we choose Empty Activity as an example, then click Next. Android Studio provides a variety of sample projects for you to choose from. Create an Android project Īfter installing successfully, in the Welcome Page window, click Create new project. Android Studio will guide you through each step during the installation and automatically download the necessary components to create emulators. You can download Android Studio from the Android developer website here: Android Studio. To learn more about Appium, you can refer to the Appium document here: Getting started.Ĭonfigure Android Studio Installation ĭownload and install Android Studio. If you want to run an application on an emulator, check your emulator settings before installing Appium.