Seven Story Rabbit Hole

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

   images

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:

1
2
3
$ mv /Applications/Android\ Studio.app /tmp/
$ mv ~/Downloads/Android\ Studio.app /Applications/
$ cp -R /tmp/Android\ Studio.app/sdk /Applications/Android\ Studio.app/

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)

Comments