[#1829][android] Configure VM for Android Studio

This commit is contained in:
Oliver Bock 2017-03-29 14:16:11 +02:00
parent 073df23ec4
commit 62f88217bc
1 changed files with 23 additions and 7 deletions

30
android/Vagrantfile vendored
View File

@ -43,13 +43,29 @@ Vagrant.configure("2") do |config|
# backing providers for Vagrant. These expose provider-specific options.
# Example for VirtualBox:
#
# config.vm.provider "virtualbox" do |vb|
# # Display the VirtualBox GUI when booting the machine
# vb.gui = true
#
# # Customize the amount of memory on the VM:
# vb.memory = "1024"
# end
config.vm.provider "virtualbox" do |vb|
# Set VM name
vb.name = "BOINC-Android-Development"
# Display the VirtualBox GUI when booting the machine
vb.gui = true
# Customize the number of CPU cores on the VM:
vb.cpus = 2
# Customize the amount of memory on the VM:
vb.memory = "2048"
# Increase video memory to 128 MB
vb.customize ["modifyvm", :id, "--vram", "128"]
# Enable 3D acceleration
vb.customize ["modifyvm", :id, "--accelerate3d", "on"]
# Enable USB
vb.customize ["modifyvm", :id, "--usb", "on"]
vb.customize ["modifyvm", :id, "--usbxhci", "on"]
end
#
# View the documentation for the provider you are using for more
# information on available options.