Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run both Docker and Android Studio Emulator on Windows?

Android Emulator is incompatible with Hyper-V, but Docker relies on Hyper-V. Is there any solution that I can run them simultaneously?

like image 464
LovelyJuice Avatar asked Mar 31 '17 06:03

LovelyJuice


People also ask

Can I run Android emulator in Docker?

Docker-Android - Genymotion – Android Emulator for app testing. Docker-Android is an Open Source UI-Test infrastructure for mobile website and android application developed by Budi Utomo. Run Android mobile automated tests from a ready-to-test infrastructure using Docker.

How can I run two emulators at the same time in Android Studio?

You can run multiple emulators at the same time simply by running your app again. When the AVD manager pops up, instead of selecting your already running emulator, click 'Launch Emulator' and select another emulator to launch. Thank you for the answer!

How do I open an Android emulator in a separate window?

If you run it before opening any project then you will get a separate window emulator as it looks earlier. It will behave like a separate application. If you close the Android studio also it will remain open. You can close it manually.

Can I use Android Studio emulator in Visual Studio?

Just open up the Visual Studio Emulator for Android entry in your Start Menu, hit play, and the emulator is ready to debug from any IDE. Download the standalone emulator today!


1 Answers

Android emulators can now run on Hyper-V. From @tmanolatos answer, here are the steps:

  1. In start menu search for Turn Windows Features on or off

  2. Check the box Windows Hypervisor platform:

    turn windows features on or off - windows hypervisor platform

  3. You may be required to sign out of your system and sign back in

  4. Docker and Android Studio Emulators should work together with no issue

For more details refer to Configure VM acceleration on Windows.

like image 88
uruemu Avatar answered Sep 18 '22 11:09

uruemu