我是android开发的初学者,我刚刚在eclipse中安装了SDK和AVD工具,并开始使用简单的"Hello“示例。
但是我在Run...(RAM-256mb)上有以下错误
[2011-11-11 20:42:02 - HelloAndroid] Launching a new emulator with Virtual Device 'Venkat' [2011-11-11 20:42:31 - Emulator] Failed to allocate memory: 1455 [2011-11-11 20:42:31 - Emulator] [2011-11-11 20:42:31 - Emulator] This application has requested the Runtime to terminate it in an unusual way. [2011-11-11 20:42:31 - Emulator] Please contact the application's support team for more information.
发布于 2012-03-28 11:40:14
打开Android虚拟设备管理器,并在硬件部分将值添加或更改为设备内存大小为15或更小或更高的值。
发布于 2013-01-02 19:16:18
根据Calvin在techarena论坛上的指示,我有最好的和正确的解决方案。
这个常见的错误“未能分配内存: 1455”将由虚拟内存定位引起。在以这种方式解析了根C磁盘的虚拟内存分配之后,您应该在Eclipse的控制台中读取以下内容:
2011年-11-27 12:33:06 - Videotutorial1 2011-11-27 12:33:06 - Videotutorial1安卓系统发布! 2011年-11-27 12:33:06 - Videotutorial1亚行正常运行. 2011-11-27 12:33:06 - Videotutorial1表演Videotutorial1活动启动 2011年-11-27 12:33:06 - Videotutorial1自动目标模式:首选AVD 'VtAVD‘不可用。启动新的模拟器。 2011-11-27 12:33:06 - Videotutorial1推出了一个新的虚拟设备'VtAVD‘模拟器 2011-11-27 12:33:39 -模拟器:仿真器窗口被关闭并重新输入 2011-11-27 12:33:39 -新仿真器发现:模拟器-5554 2011年-11-27 12:33:45 - Videotutorial1等着家('android.process.acore')即将推出. 2011-11-27 12:38:19 - Videotutorial1家庭在设备‘模拟器-5554’上运行 2011-11-27 12:38:19 - Videotutorial1上传视频教程1.apk到设备‘模拟器-5554’ 2011年-11-27 12:38:20 -安装Videotutorial1 . 2011-11-27 12:40:52 - Videotutorial1成功! 2011-11-27 12:40:53 -设备模拟器上的启动活动com.videotutoriales.videotutorial1.Videotutorial1Activity -5554 2011-11-27 12:41:18 - Videotutorial1试图将调试器连接到端口8628上的“com.videotutoriales.videotutorial1”
发布于 2011-11-11 17:11:36
编辑虚拟设备设置并将RAM分配更改为较低/更高的数目。
看看Android开发指南
https://stackoverflow.com/questions/8097228
复制相似问题