If you are running Android Studio in Linux Mint / Ubuntu 64bit and you just updated to the latest Android Studio version, you might get the following error: /home/esilva/IDEs/android-studio/sdk/build-tools/19.1.0/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
Android Studio: Failed to complete Gradle execution. Supplied JAVA_HOME is not a valid folder
So I recently upgraded from Java 7 to Java 8, when I opened Android Studio, the below message popped up Failed to complete Gradle execution.Supplied JAVA_HOME is not a valid folder. You supplied /usr/lib/jvm/java-7-oracle I was like, “what the heck!” since I already had changed my JAVA_HOME environment variable…
Set Up JAVA_HOME in Linux
I recently upgraded to Linux Mint 17 “Qiana” and since I did a clean install had to re-configure everything, but anyways don’t want to bore you with my stories. Here is how you set up JAVA_HOME in Linux Mint or any other Linux distribution.
Script to Rename Files in UNIX / Linux
This is a simple script that will rename files. Takes an absolute path as input, and looks for files with a specific string in its name. Will not traverse up the specified path. It will keep a log of the last run in the script’s directory. I have more than 500 files that need to […]
Keyboard Backlight Not Working in Linux (Fedora 18 Spherical Cow/Fedora 19 Schrödinger’s Cat) – ASUS N56V
Backlit keyboards are pretty usual these days, beside being cool looking, they are very useful at night. When I first installed Fedora 18 ‘Spherical Cow’ in my new ASUS N56V, the keyboard backlight was working perfectly. After updating to (I believe) kernel version 3.8.x the keyboard backlight stopped working, bummer. I did my research and […]
ASUS N56VJ Subwoofer in Linux
So I bought an ASUS N56VJ to install linux on it, and as expected, not everything worked right out of the box with Linux. This laptop in particular comes with premium audio which includes a small subwoofer, (great for watching movies) and to my disappointment, it was not working with Linux. Had to make some […]
How to install updates in Fedora Linux
You can check and install updates in Fedora Linux using the Software app or thru command line. Personally I like command line better since is faster and less trouble some than having to go thru Software.
Cleaning Up GNU GRUB – Removing Old Kernels
I had Fedora 17 installed and decided to upgrade to Fedora 18, upon upgrading I noticed in GRUB menu options Fedora 17 was still listed. As a good and organized computer user, I started looking and asking how to clean this messy looking GRUB and found the solution. Update: Now I know these are the […]
Wait For Trigger File – Unix Shell Snippet
So recently I was doing doing some bash scripting and required a functionality that would allow my script to wait for for a trigger file in order to execute. After some thinking, I was able to some up with a function to perform the required action.
How to Send Email – Unix Shell Snippet
I’m sharing two code snippets that will send an email. These snippets accept three parameters: a subject, an email address and a text file containing the email message.