Android Studio 无法识别正在运行的模拟器 [英] Android studio doesn't recognize the running emulator

查看:37
本文介绍了Android Studio 无法识别正在运行的模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用 Run 从 AndroidStudio 0.4.3 运行我的应用程序时,我看到 Choose Device 有两个部分 choose a running device 或 <代码>启动模拟器.我目前没有正在运行的模拟器,所以我点击 ... 来启动 AVD 管理器并启动一个模拟器.在这一点上,我看到在 choose a running device 下,我刚刚启动的模拟器出现了,但它被列为 offline.

When I run my app from AndroidStudio 0.4.3 using Run I see Choose Device which has two sections choose a running device or Launch Emulator. I don't have a running emulator at the moment so I click the ... to launch AVD manager and start an emulator. At this point I see that under choose a running device the emulator I just launched shows up but its listed as offline.

过去,当模拟器完全启动并运行时,offline 状态就会消失.但是,现在我注意到当模拟器完全启动时,它不再出现在 choose a running device 中.

In the past the offline status went away when the emulator was fully up and running. However, now I've noticed that when the emulator is launched fully, it no longer appears in choose a running device.

我觉得我总是在用 android studio 拿起模拟器玩猫捉老鼠的游戏.有一个更好的方法吗?我错过了什么吗?

I feel like I'm always playing cat and mouse game with android studio picking up the emulator. Is there a better way to do this? Am I missing something?

推荐答案

禁用然后启用 ADB 集成

在 Android Studio 中转到

In Android Studio go to

  1. 菜单 -> 工具
  2. 安卓
  3. 启用 ADB 集成(应勾选,点击取消勾选)
  4. 启用 ADB 集成(不应勾选,点击添加勾选)

再次运行您的应用.之前在运行"对话框中缺少的模拟器应该可供选择以运行您的应用.

Run your app again. Emulator that was previously missing from Run dialog should be available to be selected upon which to run your app.

这篇关于Android Studio 无法识别正在运行的模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆