“waiting for target device to come online” in Andr

2019-01-07 09:38发布

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 but nothing seems to work. After running gradle and showing "waiting for target device to come online" in task bar nothing happens and program doesn't run.

Kindly help


Adding Screenshot:

enter image description here

And:

enter image description here

24条回答
我命由我不由天
2楼-- · 2019-01-07 10:16

After lots of attempts, stopping device from AVD(exactly from AVD, not by cross button nor power off button on emulator) and starting build again helped me.

查看更多
萌系小妹纸
3楼-- · 2019-01-07 10:16

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

查看更多
Deceive 欺骗
4楼-- · 2019-01-07 10:17

if you docker is running you should close it.

查看更多
\"骚年 ilove
5楼-- · 2019-01-07 10:20

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.

查看更多
劳资没心,怎么记你
6楼-- · 2019-01-07 10:21

maybe you do not have SDK of your simulator,please check File->Settings->Appearance&Behavior->SystemSetting->Android SDK

查看更多
劳资没心,怎么记你
7楼-- · 2019-01-07 10:21

I had the same problem ,I was using

Linux LinuxRobot 4.14.0-kali3-amd64

and getting this

host doesn't support requested feature: CPUID.80000001H:ECX.abm

and this message

waiting for target device to come online

Solution Close debugging and current emulator then

Open Avd Manager ,you will be able to see your device there then click on play button

enter image description here

Or Try Cold Boot

Open Android virtual device manager,click on drop button after select cold boot. read this

enter image description here

查看更多
登录 后发表回答