Experience with Motorola G5S Plus (Sanders) (XT-1084) ROMs and Generic System Image custom ROMs Project Treble

Whatever you do with your device, it’s all at your own risk. The DeviceThe legacy Motorola G5S Plus phone (sanders) is of 2017 and has a lot of juice in it to support Android OS versions up to Android 12. However, sucess is not guaranteed. Since this device is over 5 years old now, Motorola … Continue reading Experience with Motorola G5S Plus (Sanders) (XT-1084) ROMs and Generic System Image custom ROMs Project Treble

How to improve speed of Android Studio on a legacy computer

Android Studio is one of the best IDEs for Android apps development, but with legacy computers, it is very slow. To run it on a Dell Vostro 3546, here's what I had to do. Upgrade hardware Minimum RAM required is 8 gb. The laptop came with 4 gb DDR3 1600 Mhz RAM which was slow, … Continue reading How to improve speed of Android Studio on a legacy computer

How to resolve Dependency ‘androidx.appcompat:appcompat:1.4.1’ requires ‘compileSdkVersion’ to be set to 31 or higher.Compilation target for module ‘:app’ is ‘android-30’

I had the below problem when building code for an older version of Android on Android Studio. Dependency 'androidx.appcompat:appcompat:1.4.1' requires 'compileSdkVersion' to be set to 31 or higher.Compilation target for module ':app' is 'android-30' I was able to solve it by changing the version of appcompat in the dependencies What I had: implementation 'androidx.appcompat:appcompat:1.4.0' I … Continue reading How to resolve Dependency ‘androidx.appcompat:appcompat:1.4.1’ requires ‘compileSdkVersion’ to be set to 31 or higher.Compilation target for module ‘:app’ is ‘android-30’

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 fix Android Studio error message – Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance

Android Studio upon being freshly installed displayed the below error message in the event window: Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance This error is due to the Vulkan APIs that are not needed if the computer has no graphics card. To overcome this error, open a terminal window and do the following: … Continue reading How to fix Android Studio error message – Emulator: createOrGetGlobalVkEmulation: Warning: Vulkan 1.0 APIs missing from instance

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

Install kvm on Linux Mint for Android Studio x86 or x86_64 version of Android emulator

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

Speed up menu bar and sub options opening in Android Studio 1.4

As a user of Android Studio 1.4, I found that the menu bar and it's sub-menus / sub options had a considerable delay before they showed up. I identified this to be with the icons and the animation effects on the menu and it's appearance. To increase speed of the menu appearing, do the following: … Continue reading Speed up menu bar and sub options opening in Android Studio 1.4