“waiting for target device to come online” in Android Studio 2.3

后端 未结 28 1991
南旧
南旧 2020-12-02 12:27

Recently upgraded to Android Studio from 2.2.3 to 2., running on Win10

Emulator stopped working since then. Tried installing other images(25 rev 4)/upgrading for AVD

相关标签:
28条回答
  • 2020-12-02 12:39

    I already have Emulator installed. But still had the same problem this morning with Ubuntu 16.04 and Android Studio 2.3,Below is what I did and it worked.

    Double Check to see if these are available:

        sudo apt-get install lib64stdc++6:i386    
        sudo apt-get install mesa-utils
    
    1. Locate the lib64 folder. On Ubuntu 64 bit, its located under ~/Android/Sdk/emulator/lib64.

    2. In terminal, Navigate to the ~/Android/Sdk/emulator/lib64 folder ,then run the following commands:

    move the libstdc++ file inside the folder libstdc++.bak and provide softlink

    mv libstdc++/ libstdc++.bak
    ln -s /usr/lib64/libstdc++.so.6 libstdc++
    
    0 讨论(0)
  • 2020-12-02 12:39

    I had to turn off Parallels Desktop and it started working again without reboot.

    0 讨论(0)
  • 2020-12-02 12:41

    Upgrade your Display driver ... this worked for me!

    0 讨论(0)
  • 2020-12-02 12:42

    I tried doing a “Cold Boot Now” in the device, but got an error saying: AVD Pixel_API_24 is already running. If that is not the case, delete the files at /.android/avd/Pixel_API_24.avd/*.lock.

    After deleting a .lock file in the suggested folder the “Cold Boot Now” worked and the device was back to normal.

    0 讨论(0)
  • 2020-12-02 12:42

    Restarting the computer solved it for me.

    0 讨论(0)
  • 2020-12-02 12:46

    I couldn't get any solutions working and I tried almost every solution. What actually worked for me was something I accidentally stumbled upon. I opened two Android Studio applications and ran one and let it stay "waiting for target device to come online" and went to my other app that I want to run and run that but there will be an option under connected devices when you go to choose your avd, choose that one. It will connect to the avd you are using in the first app you ran and work.

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