Gradle(w) and Proxy Authentication

The recent updates in Android Studio eliminate the possibility of passing JVM arguments to gradle. That’s quite unfortunate because I quite liked my solution and now I was getting a (not) nice Connection refused message… So I had to find a different solution. Environment Variable As always, everything related to Java can be configured via […]

Android – More Speed up Building with Gradle

In my previous post I described one thing you can easily do to improve the build speed, namely enabling the gradle daemon. In the meantime, things improved quite a bit: Gradle 2.4 (at the moment of writing) has better speed You can run things in parallel now like other build tools (e.g. make ) You […]

Fix CodeIris plugin in Android Studio

TL;DR: For the combination of AS 1.2beta and CodeIris 1.13 beta, go to your .AndroidStudioPreview12/config/plugins/CodeIris-Idea/lib and remove your groovy-all jar file. I wanted to get an UML representation of my classes and one plugin I found was CodeIris. Unfortunately, when I tired to install it, I could not get my project to reload. Bummer. Here […]

Attempted to Finish an Input Event …

… but input event receiver has already been disposed. This is the error I got while trying to do something off a menu in Android. Silly really. The message is not too revealing so I ended up scouring the net for an answer and scratching my head afterwards… With a service My problem was trying […]

Android Studio: Change the Cache Location

Note: This is an updated article to reflect the stable release of AS. If you are looking for the old one, please see here. Android Studio (AS) creates a local directory .AndroidStudio to cache its own data. In most environments, this is acceptable. However, the size of the directory can easily exceed 300Mb and, if […]

Gradle and Proxy Authentication in Android Studio

Update: This is obsolete as Android Studio is going to eliminate JVM arguments for gradle. See this post for a more future-proof approach. The other day I did an exercise to install Android Studio (“AS” henceforth) (0.8.4 at the moment of writing) and create a project with gradle in an environment with an authenticated proxy. […]

Scroll to top