我怎样才能让需要大于2.5MB更多我的虚拟设备支持的应用程序? [英] How I can make my virtual device support applications that require more than 2.5MB?
问题描述
显然,我的应用程序需要2.5 MB(也许是因为我的照片需要2MB ...),然后虚拟设备无法与多MB工作。
Apparently my app needs 2.5 MB (maybe because my photos need 2MB...) and then virtual device can't work with that much MB.
如何让我的虚拟设备支持超过2.5 MB让我的应用程序的工作?
How can I make my virtual device support more than 2.5 MB to get my application working?
推荐答案
我会从你的<一个演绎href=\"http://stackoverflow.com/questions/3824279/problems-with-hellogridview-tutorial-from-android-developer-site\">$p$pvious你指的是此错误消息的问题:
E / dalvikvm堆(248):2621440字节外部分配太大,这一进程
E/dalvikvm-heap( 248): 2621440-byte external allocation too large for this process.
我会建议谷歌搜索这句话看着解决问题的方法,这显然可以概括为:
I would suggest Googling that phrase and looking at solutions to the problem which apparently can be summarised as:
- 使用较小的图像,适用于Android设备的尺寸
- Resample您的<一个href=\"http://www.memofy.com/memofy/show/1008ab7f2836ab7f01071c2dbfe138/outofmemory-exception-when-decoding-with-bitmapfactory\"相对=nofollow>图像
- Use smaller images that are suitable for the size of an Android device
- Resample your images
这篇关于我怎样才能让需要大于2.5MB更多我的虚拟设备支持的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!