emulator.exe 已停止工作?
我尝试运行一个 android 示例,但我不断收到:emulator.exe 已停止工作。
这是控制台台词:
[2011-02-11 10:14:49 - Teste] New emulator found: emulator-5554
[2011-02-11 10:14:49 - Teste] Waiting for HOME ('android.process.acore') to be launched...
[2011-02-11 10:14:49 - Emulator]
[2011-02-11 10:14:49 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2011-02-11 10:14:49 - Emulator] Please contact the application's support team for more information.
[2011-02-11 10:14:51 - Emulator] Bad ram offset 74116c00
[2011-02-11 10:14:51 - Emulator] emulator: warning: opening audio input failed
[2011-02-11 10:14:51 - Emulator]
[2011-02-11 10:14:51 - Emulator] emulator: emulator window was out of view and was recentred
[2011-02-11 10:14:51 - Emulator]
[2011-02-11 10:14:51 - Teste] emulator-5554 disconnected! Cancelling 'com.example.android.apis.ApiDemos activity launch'!
你知道这是什么吗?
谢谢。
I try to run an android example but i keep getting: emulator.exe has stop working.
This is the console lines:
[2011-02-11 10:14:49 - Teste] New emulator found: emulator-5554
[2011-02-11 10:14:49 - Teste] Waiting for HOME ('android.process.acore') to be launched...
[2011-02-11 10:14:49 - Emulator]
[2011-02-11 10:14:49 - Emulator] This application has requested the Runtime to terminate it in an unusual way.
[2011-02-11 10:14:49 - Emulator] Please contact the application's support team for more information.
[2011-02-11 10:14:51 - Emulator] Bad ram offset 74116c00
[2011-02-11 10:14:51 - Emulator] emulator: warning: opening audio input failed
[2011-02-11 10:14:51 - Emulator]
[2011-02-11 10:14:51 - Emulator] emulator: emulator window was out of view and was recentred
[2011-02-11 10:14:51 - Emulator]
[2011-02-11 10:14:51 - Teste] emulator-5554 disconnected! Cancelling 'com.example.android.apis.ApiDemos activity launch'!
You know what is this?
Thank you.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我也遇到了同样的问题,
现在我在网上搜索时得到了解决方案。
解决方案:编辑设备设置并将 RAM 分配更改为较低的数字。
如果是 1024 或更多,请将其减少到 512Mb 或 256Mb
您可以在“编辑 Android 虚拟设备 (AVD)”对话框的硬件部分 --> 中更改它。设备内存大小
I too had the Same Problem,
Now i got the solution while searching the internet.
Solution: Edit the Device settings and change the RAM allocation to a lower number.
If it was 1024 or More, reduce it to 512Mb or 256Mb
You can Change it in "Edit Android Virtual Device (AVD)" dialog's Hardware Section --> Device ram size
我有类似的问题。因此,我建议的最简单的想法是:
尝试通过在您的计算机上发出命令
adb Kill-server
,然后发出adb start-server
来杀死adb
。命令提示符。注意:如果您尚未将
android-sdk-windows\platform-tools
或android-sdk-windows\tools
目录添加到系统环境中的 windows 路径中,那么您无法直接运行此命令。因此,您需要走这条路径,然后运行上述命令。I had the similar issue. So the simplest idea I would suggest:
Try killing the
adb
by just issueing the commandadb kill-server
and thenadb start-server
on your command prompt.Note: If you have not added the
android-sdk-windows\platform-tools
orandroid-sdk-windows\tools
directory to the windows path in your system environments then you can not able to run this command directly. Therefore you need to go this path and after that run the above mentioned command.尝试创建一个新的 AVD 并查看问题是否仍然存在。
另外,使用 -scale 参数可以防止模拟器窗口离开屏幕并重新居中。您必须调整数字才能找到适合显示器的尺寸,但从 -scale 0.5 开始,然后添加 0.1 的增量,直到适合为止。
Try creating a new AVD and see if the problem persists.
Also, use the -scale parameter to prevent the emulator window from going off screen and being recentered. You will have to adjust the numbers to find the right size for your display, but start with -scale 0.5 and add increments of 0.1 until it fits.
我遇到了同样的问题,重新启动 ADB 对我不起作用。有时重新启动我的手机会起作用,但并非总是如此,由于这个故障,我大约一周无法编程,我想我终于找到了解决方法! :-D
首先,杀死手机上运行的所有程序。拥有某种任务管理器可以使这成为一项快速任务,否则您将不得不手动一次将它们全部杀死。
如果这不能解决问题,您将需要转到手机设置,然后转到“应用程序”,然后转到“运行服务”,然后终止其中的所有服务。我正在使用 Droid Incredible,但尚未发现它对我不起作用。 :-)
所以,简短的答案是,杀死所有应用程序和所有服务。
另外,请记住,您需要关闭并重新打开 Eclipse 以查看此修复是否对您有效。我希望这对你有用,我知道它对我也有用! :-D
I have had the same problem and restarting ADB wouldn't work for me. Sometimes rebooting my phone worked but not always, I was unable to program for about a week because of this glitch and I think I finally found a workaround! :-D
First of all, kill every program running on your phone. Having some kind of taskmanager makes this a quick task, otherwise you'll have to manually kill them all one at a time.
If that doesn't fix it, you will need to go to your phone settings, then go to "Applications", then go to "Running services", and kill every service in there. I'm using a Droid Incredible and I have yet to have this not work for me. :-)
So, the short answer is, kill all apps, and all services.
Also, keep in mind, you will need to close, and re-open eclipse to see if this fix has worked for you. I hope this works for you, I know it did for me! :-D
我遇到了 emulator.exe-arm 无法工作错误,而且我没有收到任何错误消息。经过4个小时的奋战和紧张的搜索和测试,我终于找到了答案。
更新驱动程序
我有英特尔显卡和 AMD,而 Windows 显示链接搞乱了我的狗屎。所以我到处下载了最新的驱动程序,现在一切正常。
我尝试过但仍然记得的事情。
- 解决技巧
- 拉姆技巧
- dll 复制和移动狗屎
- 命令提示符技巧
- 再次清理和安装所有东西(x3-5)
希望这可以帮助那些正在进行同样战斗并在为时已晚之前发现这一点的人。
I had emulator.exe-arm not working error, and also that i didn't get any error message. After 4 hours of battle and intense searching and testing, i finally found answer.
UPDATE DRIVERS
I have intel graphics and AMD, and windows display link messing up my shit. So i downloaded newest drivers everywhere and now everything works.
Things i tried and still remember.
- Resolution tricks
- Ram tricks
- dll copying and moving shit
- Command prompt tricks
- cleaning and installing everything again (x3-5)
Hope this helps someone who is going on same battle and finds this before its too late.