After installing Android Studio 4.1 on Linux, one of the biggest issue was speed of Android Studio at startup. To improve speed vmoptions64 or vmoptions needs to contain the setof lines in blue below. You can change the file using a text editor as follows by opening a terminal window: $ mousepad ~/.AndroidStudio4.0/config/studio64.vmoptions <enter> or … Continue reading How to speed Android Studio in Linux by changed VM Options
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 … Continue reading Install kvm on Linux Mint for Android Studio x86 or x86_64 version of Android emulator
android-sdks/build-tools/17.0.0/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory To fix the above error, open a terminal window and install:$ sudo apt-get install lib32z1 <enter>
This error Error ko:~/android-sdk-linux/tools/emulator64-arm: invalid option -- '-enable-kvm' only comes if you are trying to use KVM with and arm processor. KVM with android studio currently only works with Intel processors.
Check if kvm can run on the computer $ sudo kvm-ok <enter> If it returns lines as follows, then it will work INFO: /dev/kvm exists KVM acceleration can be used Install qemu-kvmOpen a terminal window and enter the commands below.$ sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils virt-viewer virt-manager qemu-system <enter> $ sudo adduser user … Continue reading Install qemu-kvm on Ubuntu Linux
If you installed VirtualBox and later changed your mind to use the .vdi file with kvm, it will work, but when you go back to VirtualBox, it cannot be used. This is because, when it was opened with qemu/kvm, the owner and group became root. To open the file again in VirtualBox, open a terminal … Continue reading VirtualBox does not open .vdi file after it is used with kvm