Add KVM for Hyper-V

This commit is contained in:
Adam Radocz 2018-11-25 17:06:44 +01:00 committed by GitHub
parent e4876a0832
commit cd8bcdec85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -30,7 +30,7 @@ Provide a turn-key VM for Android development
1. Wait until the final reboot finished 1. Wait until the final reboot finished
1. **From this point on you don't need Vagrant anymore** 1. **From this point on you don't need Vagrant anymore**
1. Don't run `vagrant up` again! 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. In the VM:
1. Log in with `vagrant/vagrant` 1. Log in with `vagrant/vagrant`
1. Open a terminal 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. Hook up your Android device via USB (and remember to attach it to VirtualBox)
1. Happy hacking :-) 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 ### Known limitations
* The Android Virtual Device Manager might not work properly as it needs virtualization * The Android Virtual Device Manager might not work properly as it needs virtualization