您的位置:首页 > 移动开发 > Android开发

android 如果增加应用的内存

2017-01-19 11:07 211 查看
在清单里面添加一个参数android:largeHeap="true" ,例如我的应用可以将使用的内存的空间从200mb达到500mb 

<application
android:name="com.wbm.app.application.MyApp"
android:allowBackup="false"
android:icon="@mipmap/appicon"
android:label="@string/app_name"
android:supportsRtl="true"
android:largeHeap="true"
android:theme="@style/Theme.AppCompat.Light.NoActionBar">
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐