Android的工作室无法识别正在运行的仿真正在运行、无法识别、工作室、Android

2023-09-05 02:02:58 作者:失魂人

当我从AndroidStudio 0.4.3使用运行我看到跑我的应用程序选择设备其中有两节选择一个正在运行的设备启动模拟器。我没有正在运行的仿真器的时刻,所以我点击 ... 启动AVD管理器并启动仿真器。在这一点上我看到,在选择一个正在运行的设备我刚刚推出的仿真器显示出来,但其作为离线上市。

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.

在过去离线状态走了,当模拟器完全启动和运行。不过,现在我已经注意到,当仿真器全面启动,它不再出现在选择一个正在运行的设备

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工作室拿起仿真器。有没有更好的办法做到这一点?我失去了一些东西?

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服务器并重新启动。

Try to kill the adb server and restart it.

找到您ADB二进制文件(Linux的/ OSX)或adb.exe(窗口),做:

Locate your adb binary (linux/osx) or adb.exe (windows) and do:

adb kill-server
adb start-server

这应该解决您的问题。