通过手势缩放图片时出现OOM现象

通过手势缩放图片时出现OOM现象,第1张

概述java.lang.OutOfMemoryError:Failedtoallocatea240250012byteallocationwith16777216freebytes  出现该类似的错误提示时,加如下两句加粗倾斜的代码ji解决即可<applicationandroid:allowBackup="true"android:icon="@mipmap/ic_launcher"androi

java.lang.OutOfMemoryError: Failed to allocate a 240250012 byte allocation with 16777216 free bytes 

 

出现该类似的错误提示时,加如下两句加粗倾斜的代码ji解决即可

<application    androID:allowBackup="true"    androID:icon="@mipmap/ic_launcher"    androID:label="@string/app_name"    androID:roundIcon="@mipmap/ic_launcher_round"    androID:supportsRtl="true"    androID:largeHeap="true"    androID:harDWareAccelerated="false"    androID:theme="@style/Apptheme">
点赞收藏分享文章举报

honey_angle_first发布了8 篇原创文章 · 获赞 4 · 访问量 1万+私信 关注 总结

以上是内存溢出为你收集整理的通过手势缩放图片时出现OOM现象全部内容,希望文章能够帮你解决通过手势缩放图片时出现OOM现象所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/web/1067758.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-26
下一篇 2022-05-26

发表评论

登录后才能评论

评论列表(0条)

保存