Android Studio emulator: ERROR: detected a hanging thread QEMU2 main loop

前端 未结 10 1476
忘了有多久
忘了有多久 2020-12-03 01:38

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

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-03 02:14

    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
    

提交回复
热议问题