I was trying to create a virtual device on Android Studio. I needed to download Nougat x86_64. When I started the download, it went well for the first few minutes. However, it failed more than halfway through and displayed the following message:
To install: - Google APIs Intel x86 Atom_64 System Image (system-images;android-25;google_apis;x86_64)
Preparing "Install Google APIs Intel x86 Atom_64 System Image". Downloading https://dl.google.com/android/repository/sys-img/android/x86_64-25_r03.zip An error occurred while preparing SDK package Google APIs Intel x86 Atom_64 System Image: Cannot download 'https://dl.google.com/android/repository/sys-img/android/x86_64-25_r03.zip': Connection reset , response: 200 OK. "Install Google APIs Intel x86 Atom_64 System Image" failed. Failed packages: - Google APIs Intel x86 Atom_64 System Image (system-images;android-25;google_apis;x86_64)