java.lang.OutOfMemoryError: Failed to allocate a 240250012 byte allocation with 16777216 free bytes
出现该类似的错误提示时,加如下两句加粗倾斜的代码ji解决即可
<applicationandroid: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">