Android Studio – Error While Loading Shared Libraries: libz.so.1

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 Share

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… Share

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 […]

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. Basically, how this works is that a function will […]