Use the Visual Studio Installer to Modify your workloads and ensure that you have the Mobile development with. If you don't already have it installed, download Visual Studio 2019.
Install Android emulator with Visual Studio We recommend using the Google Android emulator, as it offers access to the latest Android OS images and Google Play services. There are many Android emulator options available for Windows PCs. Emulator for cross-platform development with Visual Studio See the Android developer guide for more information. Once your app is installed on the emulator device, you can use Apply Changes to deploy certain code and resource changes without building a new APK. Once your app is ready for testing, you can build and run your app by: When building and testing a native Android app, we recommend using Android Studio.
Once the Windows Features list appears, scroll to find Hyper-V (includes both Management Tools and Platform) and Windows Hypervisor Platform, ensure that the box is checked to enable both, then select OK.Įmulator for native development with Android Studio Select Turn Windows features on or off from the search results. In the Windows search box (lower left), enter "windows features".
Verify that your computer hardware and software is compatible with Hyper-V by opening a command prompt and entering the command: systeminfo For more info, see the article: Hardware acceleration for emulator performance or the Android Studio Emulator documentation. If your machine doesn't fit this criteria, you may be able to run Intel HAXM or AMD Hypervisor.
In the Android Studio toolbar, select your app from the run configurations drop-down menu.įrom the target device drop-down menu, select the device that you want to run your app on.