From cd8bcdec85ceeb03dbe0ec97fcc8f4a30f3898d9 Mon Sep 17 00:00:00 2001 From: Adam Radocz Date: Sun, 25 Nov 2018 17:06:44 +0100 Subject: [PATCH] Add KVM for Hyper-V --- android/Vagrant.README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/android/Vagrant.README.md b/android/Vagrant.README.md index 8931b390cd..0076182fd9 100644 --- a/android/Vagrant.README.md +++ b/android/Vagrant.README.md @@ -30,7 +30,7 @@ Provide a turn-key VM for Android development 1. Wait until the final reboot finished 1. **From this point on you don't need Vagrant anymore** 1. Don't run `vagrant up` again! - 1. Just use VirtualBox to stop/start your new shiny VM + 1. Just use VirtualBox/Hyper-V to stop/start your new shiny VM 1. In the VM: 1. Log in with `vagrant/vagrant` 1. Open a terminal @@ -44,6 +44,13 @@ Provide a turn-key VM for Android development 1. Hook up your Android device via USB (and remember to attach it to VirtualBox) 1. Happy hacking :-) +#### Android Virtual Device Manager +Hyper-V can run Android Virtual Device Manager, but you have to install KVM and add vagrant user to KVM Group. +1. Open a terminal + 1. `apt install qemu-kvm` + 1. `adduser vagrant kvm` +1. Reboot the VM. + ### Known limitations * The Android Virtual Device Manager might not work properly as it needs virtualization