I use Android Studio 3.0.1 on Ubuntu 16.04.
Yesterday, Android Studio popped up a message saying that there\'s an update available, and I always click those. It the
Enabling/disabling ipv6 protocol on macOS also works, in case that the off option doesn't appear in the Configure IPv6 dropdown (like in macOS 10.14), you can perform the next commands in the terminal:
networksetup -setv6off Ethernet && networksetup -setv6off Wi-Fi
To enable just select the previous selected option in the Configure IPv6 dropdown or perform this other command:
networksetup -setv6automatic Wi-Fi && networksetup -setv6automatic Ethernet