Caused by: java.lang.OutOfMemoryError: Failed to allocate a 29433932 byte allocation with 14683576 free bytes and 14MB

解决Android 内存溢出

其实你可以添加在你的清单

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

<application
    android:allowBackup="true"
    android:hardwareAccelerated="false"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:largeHeap="true"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">

 



posted @ 2017-01-17 13:58  newcaoguo  阅读(9453)  评论(0编辑  收藏  举报