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

前端 未结 10 1406
忘了有多久
忘了有多久 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:05

    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
    
    0 讨论(0)
  • 2020-12-03 02:05

    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

    0 讨论(0)
  • 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
    
    0 讨论(0)
  • 2020-12-03 02:14

    in Tools->AVD->Edit->advanced settings. choose quick boot instead of cold boot

    0 讨论(0)
提交回复
热议问题