Android模拟器启动,但Eclipse不承认它 [英] Android Emulator starts but Eclipse doesn't recognize it

查看:162
本文介绍了Android模拟器启动,但Eclipse不承认它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

作为一般规则,一切工作正常,但有时Eclipse或我的Andr​​oid模拟器决定是一个混蛋,拒绝工作。

As a general rule, everything works fine, but then sometimes either Eclipse or my Android emulator decides to be a jerk and refuses to work.

我打开Eclipse中的AVD管理。我选择我想要的AVD并单击开始。模拟器启动,它通过引导的loooong过程。它终于完成启动,然后由于某种原因,它会立即重新启动,并经过再次启动的looong过程。一旦它启动了第二次,Eclipse将失去它的轨道。它是在设备选项卡不再列出,我无法安装我的应用程序上或在模拟器上运行它。如果我杀了仿真器和尝试启动一遍,然后我得到了完全相同的行为。这是非常令人沮丧。

I open the AVD Manager in Eclipse. I choose which AVD I want and click Start. The emulator starts up and it goes through the loooong process of booting. It finally finishes booting and then for some reason, it immediately reboots and goes through the looong process of booting again. Once it boots the second time, Eclipse loses track of it. It is no longer lists in the Devices tab and I can't install my app or run it on that emulator. If I kill the emulator and try to start it over, then I get the exact same behavior. It's incredibly frustrating.

有没有消息发生在控制台来解释行为。任何想法,为什么发生这种情况?

There are no messages happening in the console to explain the behavior. Any idea why this is happening?

推荐答案

模拟器前,亚行开始时,这是一个已知的问题。我不知道真正的原因,但一个快速的解决方法是重新启动ADB在命令提示符(与模拟器运行)

That's a known issue when adb starts before the emulator. I don't know the real reason, but a quick workaround is to restart adb in the command prompt (with the emulator running)

> adb kill-server
> adb start-server

现在,

> adb devices

将返回模拟器和Eclipse将能够安装应用程序。

will return the emulator and Eclipse will be able to install the app.

这篇关于Android模拟器启动,但Eclipse不承认它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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