After installing Android Studio, the Android emulator takes a long time to start up. It appears to have hanged and other activities on the Ubuntu computer are not possible. This could be due to incorrect installation of kvm. To resolve this problem, open a terminal window and install kvm using the following command:
sudo apt-get install qemu-kvm ovmf libvirt-daemon-system ubuntu-vm-builder bridge-utils ia32-libs-multiarch <enter>
The above command installs all the packages necessary to run kvm and the Android emulator.