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 start up Thunderbird mail client on another path or computer in Linux

After moving Thunderbird folder i.e. ~/.thunderbird to another computer, it could not find the mailbox of the profile. It created a new profile. This was due to the change in the path where ~/.thunderbird folder was restored. To overcome this issue, open a terminal window and enter the following: $ cd ~/thunderbird <enter>$ ./thunderbird -profilemanager … Continue reading How to start up Thunderbird mail client on another path or computer in Linux

How to install Linux Mint 20.3 on Crucial MX500 SATA SSD drive on Dell Vostro 3546 laptop

The humble Dell Vostro 3546 is an old laptop from 2014, which came with an Intel 4th Generation 4210U processor, 1 TB SATA 5400 rpm hard disk and 4 GB DDR3 (low voltage) 1.35V RAM. It worked fine till now even when it ran Linux Mint 20.3 with Blender 3D. However, everytime an Android app … Continue reading How to install Linux Mint 20.3 on Crucial MX500 SATA SSD drive on Dell Vostro 3546 laptop

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’

How to mount another hard disk for sharing with other users in Linux

Sometimes, a drive needs to be shared by more than that primary user logged in on a Linux computer. This is to facilitate sharing of files and folders by other users on that computer. To enable all authorized users to work with files and folders on the shared drive, read on. Any commands need to … Continue reading How to mount another hard disk for sharing with other users in Linux

Replace FindViewByID with ViewBinding in Java on Android

In the gradle.build file for the module, add following code and Sync: buildFeatures { viewBinding true } Above automatically generates binding objects for every layout when the plugin is synced. For activity_main.xml, it will generate ActivityMainBinding class. In MainActivity.java, use inflate method on ActivityMainBinding in onCreate method as shown below: ActivityMainBinding bindMain; bindMain = ActivityMainBinding.inflate(getLayoutInflater()); … Continue reading Replace FindViewByID with ViewBinding in Java on Android

Great resources for coders or developers

All things developers and development articles can be found at https://dev.to. Best site for coders and developers https://www.freecodecamp.org. Here's a great article on one resume that was exceptional https://cloudirregular.substack.com/p/the-greatest-resume-ive-ever-seen?s=r. Learn to code for free with Google's Grasshopper app https://grasshopper.app. Get it from the Google Play Store.

How to create and use LUKS encrypted partition in Linux

It is easy to create a LUKS container and a partition within it, using the GUI on Linux. The application that enables this easily is the gnome-disk-utility. However, if you want to use the command line to set up a LUKS encrypted device, read on. Exercise appropriate caution before doing any of the below with … Continue reading How to create and use LUKS encrypted partition in Linux

How to securely wipe a hard drive or USB drive in Linux using dd or scrub

Normally we'd use dd to clean wipe a hard drive as follows after opening a terminal window for a hard disk or USB drive accessible as /dev/sdb :$ sudo dd if=/dev/urandom of=/dev/sdb status=progress <enter> Another command to do a secure wipe of /dev/sdb is scrub that can be used as follows:$ sudo scrub -p dod … Continue reading How to securely wipe a hard drive or USB drive in Linux using dd or scrub