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">
来源:CSDN
作者:honey_angle_first
链接:https://blog.csdn.net/honey_angle_first/article/details/104008962