Android[Problem]-"Waiting for target device to come online".

Posted 少陵野老

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android[Problem]-"Waiting for target device to come online".相关的知识,希望对你有一定的参考价值。

  • 环境:

    win10专业版(创意者),android studio 2.3.1

  • 问题描述:

    安装玩Android studio之后创建一个项目,建立AVD之后,运行程序时一直不能启动AVD,具体描述为:”Waiting for target device to come online”。即“等待目标设备在线”。

  • 问题分析:

    分析1:此处参考了Android 中 adb 相关问题一文,出现此问题的原因大多是因为adb的端口被占用(eclipse,模拟器等)。

    分析2:也可能有这种问题,博主就是这种问题,参考了 “waiting for target device to come online” in Android Studio 2.3 一文

  • 问题解决:

    分析1:命令行(win+r–cmd)定位到android_sdk/platform-tools/目录下,执行”adb kill-server”

    分析2:I was also having the same issue 2 days ago when i update my android studio, today I solve my issue when I was playing around with settings then I saw that in my SDK tools setting Android Emulator is uncheck so I simply checked that box and now emulator is working fine. 
    Try this steps may work for you also: 
    Go to SDK tools > SDK Tools 
    Check Android Emulator and click Apply 
    技术分享





以上是关于Android[Problem]-"Waiting for target device to come online".的主要内容,如果未能解决你的问题,请参考以下文章

Flutter:gradle build failed with error "A problem occurred evaluation root project 'android' &g

'Check Android SDK'has encountered a problem.An internal error during:"Check Android SD

WA on 23... Ural 1469

Description Resource Path Location Type The superclass "javax.servlet.http.HttpServlet" wa

SharePoint "System.Data.SqlClient.SqlException (0x80131904): Parameter '@someColumn' wa

2570 大牛们请教,总是WA,思路跟HDU论坛上一样啊