android开发各种报错集合

来源:互联网 发布:db2常用sql语句 编辑:程序博客网 时间:2024/06/08 01:49
1、RAM过大,无法启动
报错信息:
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

This application has requested the Runtime to terminate it in an unusual way

可能的问题是:在创建AVD时设定的RAM过大,将值改为512后就能正常启动AVD了

(Failed to allocate memory: 8
原因:设置了不正确AVD显示屏模式,4.0版默认的模式为WVGA800,改成WXGA720后导致不支持。
解决办法:编辑这个AVD,将Skin -> Build in的参数改回默认参数。)

0 0