How to fix message in Android Studio 4.2 to remove jcenter() and migrate to mavenCentral()

Android Studio 4.2 displays below message.Please remove usages of jcenter() Maven repository from your build scripts and migrate your build to other Maven repositories. This repository is deprecated and it will be shut down in the future. To fix it, open the gradle file at the project level, search and and replace jcenter() with mavenCentral(). … Continue reading How to fix message in Android Studio 4.2 to remove jcenter() and migrate to mavenCentral()

Bloatware removed from Samsung M51 device

Mobile devices come with lots of bloatware that is not used by many of us. Till there are legal regulations prohibiting the installation of factory bloatware, it pays to delete bloatware that is not used or never used. Before proceeding with the steps to remove bloatware, make sure a data backup has been taken, because, … Continue reading Bloatware removed from Samsung M51 device

How to assign value to text view directly in Android Kotlin

In Android Studio, when referencing layout (GUI) elements, the normal flow is to use code as below: var tv = findViewById(R.id.tv_name) tv = myString But, in Kotlin, Prior Android version 10, it was easy to assign values to layout elements without using find_view_by_id by simply using: tv_name.text = myString However, this has stopped working and … Continue reading How to assign value to text view directly in Android Kotlin

Installing Spotify on Linux Mint desktop

Spotify also has a desktop application that works on Linux Mint. To install it, open a terminal window and enter the following:$ curl -sS https://download.spotify.com/debian/pubkey_0D811D58.gpg | sudo apt-key add - <enter>$ echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list <enter> $ sudo apt-get update <enter>$ sudo apt-get install spotify-client <enter>

How to install Signal on the Linux Mint 20.1 or Ubuntu

After the WhatsApp privacy changes, many folks have installed the Signal app on their Android devices. Signal also has a desktop client, where Signal can be installed and used on a computer. To install the Linux version, open a terminal window and enter the following commands: Set up the repository$ wget -O- https://updates.signal.org/desktop/apt/keys.asc | sudo … Continue reading How to install Signal on the Linux Mint 20.1 or Ubuntu

How to make microSD card writable with SD MMC Card MicroSD Adapter in Ubuntu Linux

On a Linux computer, reading SD MMC Cards which have a MicroSD Adapter to insert a micro SD card for reading works fine. However, the problem arises when data is to be written to such the micro SD card in the SD MMC adapter. There are errors that the user does not have rights to … Continue reading How to make microSD card writable with SD MMC Card MicroSD Adapter in Ubuntu Linux

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 fix the ADB Binary found adb is obsolete and has serious performance problems with Android Emulator error in Android Studio for Linux

The default Android SDK installed with Android Studio already has the adb application installed and it is the latest. The error ADB Binary found at /home/user/ adb is obsolete and has serious performance problems with Android Emulator appears only if from Android Studio, menu option, Tools -> SDK Manager -> SDK Tools, the Android SDK … Continue reading How to fix the ADB Binary found adb is obsolete and has serious performance problems with Android Emulator error in Android Studio for Linux