ERROR: The checksum of android-studio-ide doesn't match. Corrupted download? Aborting

I have run into the same error attempting to install arduino IDE on Ubuntu 18.04:

umake ide arduino

Which failed with:

ERROR: The checksum of https://www.arduino.cc/download_handler.php doesn't match. Corrupted download? Aborting.

In my case the solution was to use the latest version of ubuntu-make from the PPA:

sudo add-apt-repository ppa:lyzardking/ubuntu-make
sudo apt update

Get rid of all the old stuff:

sudo apt purge ubuntu-make
sudo apt autoremove && sudo apt autoclean
rm -rf ~/.local/share/umake

And reinstall umake:

sudo apt install ubuntu-make

Then retry your umake install and you should be good to go.