Android SDK download error

I’m trying to follow this tutorial and trying to install NVIDIA CodeWorksforAndroid but it always gives me the error message ‘Download packages failed’ when downloading the packages, and specifically the Android SDK Base doesn’t seem to be able to download at all -‘Downloading (retry 10/10)’

What do I do?