Collaborating with other developers often means that not everyone is on the same side of the “tabs vs spaces” debate. I will spear everyone a rant on that subject. Let’s just say that I often find myself in a situation
Default java commands for manually installed JDK on Debian based distros
The update-alternatives is used to handle situations where multiple applications that accomplish the same task are installed on the system, but we would like to set a default on which one to be used….. I moved the JDK from another
Configure phpMyAdmin with a remote database
We have the following scenario: Server A runs a web server with phpMyaAmin, which connects to Server B. In this case we are using Debian packages, so Server A is assumed to be running Debian, Ubuntu, Mint or another Debian
Android Studio – Automatically sign the apk in debug mode
Android Studio no longer automatically signs the apk when pressing the “Run” button in debug mode. That makes it challenging to develop and test on a physical devise, especially when the signature of the apk is required for some functions
Gradle fails after upgrading Android Studio to 3.2.1 with “Could not find aapt2-proto.jar”
Almost every other time I go through an Android Studio upgrade, my projects no longer compile and I spend an hour or so trying to figure out what was wrong or what I need to change. Due to this reason
PHP.ini settings to increase file size and number of uploads
Update: Please checkout the later post with a better approach before reading further. In addition to changing your code, you also need to change the setting on the server to accommodate uploading larger file sizes. The settings that need to
How to connect your Android phone to Ubuntu to do development, testing, installations or tethering – Updated
All the way back in 2010 I wrote a post how to connect your Android device to your Ubuntu computer in order to develop on it. There have been a few changes since then, so here is the updated version
Gradle – Automatically rename the .apk file and copy the ProGuard mapping.txt file
ProGuard writes the mapping file under the build directory of the project. Under normal circumstances all files and directories under the build dirs are excluded from version control. That is a bit of an issue if you want to be able to save that file with every release build. I always forget to this manually. So, let’s do that at build time with Gradle and while we are at it, we might as well rename our apk file, so we don’t have to do that manually either.
The Android SDK Manager fails to fetch the platform and tools list from Google
If you get the following error message when launching the Android SDK Manager: Failed to fetch URL https://dl.google.com/android/repository/addons_list-2.xml, reason: File not found most likely the owner/permissions are not set correctly for the ~/.android directory. This error message is very confusing
Android Studio- What files and directories to exclude when importing into Subversion (or Git)
Update Oct. 17, 2019: ——————— This is the official .gitignore file maintained by JetBrains: https://github.com/github/gitignore/blob/master/Global/JetBrains.gitignore ——————— List of directories and files to be excluded when importing into a version control (relative to the root of the project): .gradle (directory) build