Broken Android Download

Today, while downloading an update to the Android emulator, I pulled the plug on my router because the download speeds were abysmal. When I got back to the computer, my Android Studio had stopped trying to update the emulator without doing so. When I tried to update it manually, I got an error:

An error occurred while preparing SDK package Android Emulator: Not in GZIP format.

I had no idea where the intermediate file was being held. Moreover, I tried uninstalling the emulator, but that failed also. I did a search and found my answer on this website. In summary, intermediate downloads are stored in: ~/Library/Android/sdk/.downloadIntermediates/ - so simply deleting the file from there and restarting the download fixes the problem! Replace ~/Library/Android/sdk with $ANDROID_HOME if using a different directory.