Android Studio experience on Linux distributions

Finally tried out Android Studio 4.0.1 on multiple Linux distributions. However, below is my experience on how it went. Mileage varies. Linux Mint 20 with Android Studio without a swap file of 8 GB would hang or freeze very frequently. Technically, not a freeze but it got too slow to be able to do anything … Continue reading Android Studio experience on Linux distributions

How to install kvm on Fedora Linux

To install KVM on Fedora, open a terminal window and enter:$ sudo dnf -y install bridge-utils libvirt virt-install qemu-kvm <enter> Next, install virtual machine management tools:$ sudo dnf -y install virt-top libguestfs-tools <enter> Start the daemon:$ sudo systemctl start libvirtd <enter>$ sudo systemctl enable libvirtd <enter> This is a required step to use Android Studio's … Continue reading How to install kvm on Fedora Linux

How to enable Android Studio AVD to use only lesser number of CPUs than available on the computer

To use only 2 cores of the CPU of the computer, do the following action after opening a terminal window in Linux, where Device10.avd is the Android 10 AVD created: $ vi ~/.android/avd/Device10.avd/config.ini <enter> Change the values in red for the below parameters in the file to those in blue as below.hw.cpu.ncore=4 hw.cpu.ncore=2 Save the … Continue reading How to enable Android Studio AVD to use only lesser number of CPUs than available on the computer

How to speed Android Studio in Linux by changed VM Options

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

How to change GPU mode for Android 10 Google Play API Pixel 3 AVD in Android Studio for Linux

If you install the AVD with Google Play Store, you cannot modify the GPU from Automatic or Hardware to any other value. It appears greyed in the AVD settings. Some of us do not have graphics cards on our systems and therefore, this setting has to be changed in order to enable Android Studio AVDs … Continue reading How to change GPU mode for Android 10 Google Play API Pixel 3 AVD in Android Studio for Linux