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
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.
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
List of directories and files to be excluded when importing into a version control (relative to the root of the project): .gradle (directory) build (directory) local.properties (file) app/build (directory) .idea/libraries (directory) .idea/gradle.xml (file) .idea/workspace.xml (file) There are a couple of