Seven Story Rabbit Hole

Sometimes awesome things happen in deep rabbit holes. Or not.


How to Downgrade Android Studio

I just tried to update to Android Studio 0.4, however was stung by Issue 61573: Gradle duplicate file exception when package apk file with jar dependencies that contains resources.

The good news is that it’s very easy to downgrade! Thank Google, because there is nothing more annoying than not being able to back out of an upgrade gone bad.

Here’s how I did it on OSX Mavericks:

$ mv /Applications/Android\ /tmp/
$ mv ~/Downloads/Android\ /Applications/
$ cp -R /tmp/Android\ /Applications/Android\

The last step is necessary because the dowloaded 0.3.7 Android Studio will not have an SDK directory. (Note: at this point you can also use mv instead of cp if you don’t want to use the extra disk space)