【问题】程序报错:
`Failed to allocate a 157467564 byte allocation with 4182352 free bytes and 113MB until OOM`
【原因】数据文件过大
【方法】第一次尝试:在AndroidMainfest.xml文件里添加代码
android:largeHeap="true"
结果无效(猜测文件过过过过。。。过大???)
于是试着将我的图片文件换成小的。。。。。就运行成功了。。。
【问题】程序报错:
`Failed to allocate a 157467564 byte allocation with 4182352 free bytes and 113MB until OOM`
【原因】数据文件过大
【方法】第一次尝试:在AndroidMainfest.xml文件里添加代码
android:largeHeap="true"
结果无效(猜测文件过过过过。。。过大???)
于是试着将我的图片文件换成小的。。。。。就运行成功了。。。