Android报错Failed to allocate a 246498744 byte allocation with 1572864 free bytes and 191MB until OOM,

阅读 70

2022-05-03

完整报错:Failed to allocate a 246498744 byte allocation with 1572864 free bytes and 191MB until OOM, max allowed footprint 2380528, growth limit 201326592

解决方法:
在Mainfest.xml中添加

android:hardwareAccelerated="false"
android:largeHeap="true"

在这里插入图片描述

相关推荐

精彩评论(0)

0 0 举报