Android模拟器无法启动在所有 [英] Android emulator not starting at all

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

问题描述

今天我试着从Eclipse启动我的Andr​​oid应用程序,但什么都没有发生。样样精昨天的工作。我试着像亚行杀服务器,亚行启动服务器的几件事情。在某些时候,我得到了用户数据的图像被另一个模拟器的错误,让我去有关删除.lock文件夹中的AVD图像,但无济于事。

Today I tried to launch my Android app from within eclipse but nothing happened. Everything worked fine yesterday. I tried a few things like adb kill-server, adb-start-server. At some point I got the "user data image is used by another emulator" error, so I went about deleting the .lock folders in the avd image but to no avail.

我创建了一个新的AVD与模拟器犯规甚至开始与此图像。我试图用

I created a new avd and the emulator doesnt even start with this image. I tried to start it with

emulator -avd avdname

- >一无所有。没有错误。 emulator.exe运行在任务管理器。

->nothing. No error. emulator.exe is running in Taskmanager.

Windows 7的 Android的SDK工具,修订7

Windows 7 Android SDK Tools, revision 7

更新:现在我知道,当我得到的错误

Update: Now I know when I get the error

模拟器:错误:用户数据的图像被另一个模拟器。中止

emulator: ERROR: the user data image is used by another emulator. aborting

这是当我尝试后emulator.exe在Taksmanager已经晃来晃去再次运行应用程序。

it's when I try to run the application again after the emulator.exe is already dangling in Taksmanager.

更新:等了20分钟。 emulator.exe只是坐在那里00:00:00 CPU时间。

Update: waited for 20mins. emulator.exe is just sitting there with 00:00:00 cpu time.

推荐答案

当你说:一切都精昨天的工作,你应该先问问自己,你既然已经改变;你有没有安装任何可能干扰模拟器?

When you say, "Everything worked fine yesterday", you should first ask yourself what you have changed since; have you installed anything that could interfere with the emulator?

就个人而言,我会下载Android SDK的一个新的副本,从你的 PATH 删除提及当前安装的版本,并添加新的。

Personally, I would download a fresh copy of the Android SDK, remove the reference to the currently installed version from your PATH, and add the new one.

我认为这将解决您的问题(至少能够启动一个AVD即是)。

I should think that would solve your issue (at least, being able to start an AVD that is).

还有一点要注意的是,AVD有时会到启动很慢。在我的机器之一,它已采取了7分钟启动。因此,尝试模拟器-avd avdname ,然后去做出咖啡,看看它,当你返回工作的:)

One more thing to note is that the AVD can sometimes be quite slow to startup. On one of my machines, it has taken up to 7 minutes to boot up. So try emulator -avd avdname, then go make a coffee and see if it works when you return :)

祝你好运!

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

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