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’

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

Experience with upgrade of RAM memory on Dell Inspiron 5580 and Dell Inspiron 5570 laptops

If you are one of those who run Virtual Box and use any other OS in it, then the base memory of the Dell Inspiron 5580 of 8 gb DDR4 RAM and an NVME PCIe SSD will still not give near good performance of Windows or the other OS in Virtual Box. The simplest solution … Continue reading Experience with upgrade of RAM memory on Dell Inspiron 5580 and Dell Inspiron 5570 laptops

How to report battery issue to Dell using SupportAssist Diagnostics if you use Linux

Dell has an application SupportAssist on the laptops it sells. To them, this is their bible about the information on your laptop. Any issue reported to Dell, ends up with technical support staff who ask to run SupportAssist first thing. On a Linux machine, SupportAssist will not work, even in a virtual machine. To overcome … Continue reading How to report battery issue to Dell using SupportAssist Diagnostics if you use Linux

How to run latest India income tax utility for the Financial Year 2021-22 (AY 2022-23) in Linux

The India income tax department has launched a new tax portal and has also created new income tax utilities to enable income tax returns filers to file their tax returns. Past years' utilities could be run on Linux or any other operating system because they were written in Java. However, this time, the utilities are … Continue reading How to run latest India income tax utility for the Financial Year 2021-22 (AY 2022-23) in Linux

How to install Adobe Reader for Linux on Linux Mint or Ubuntu

Download the last Linux version of Adobe Acrobat Reader from the archives of Adobe after opening a terminal window and enter:$ wget ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i386linux_enu.deb <enter> To install open a terminal window and enter:$ sudo apt-get install ./AdbeRdr9.5.5-1_i386linux_enu.deb <enter> A word of caution that it may be outdated and unpatched.

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