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
Go to Tools => AVD Manager select Virtual Device which you want to open Press the pen icon (Edit this AVD)
Select Show Advanced Settings
Select Boot option : Cold boot
On:
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="14.04.5 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.5 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
To set the value of disable_ipv6 from 1 to 0, the following worked for me:
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
1
$ sudo sysctl net.ipv6.conf.all.disable_ipv6=0
net.ipv6.conf.all.disable_ipv6 = 0
$ cat /proc/sys/net/ipv6/conf/all/disable_ipv6
0
in Tools->AVD->Edit->advanced settings. choose quick boot instead of cold boot