Android : java.lang.OutOfMemoryError:

后端 未结 6 1681
太阳男子
太阳男子 2020-11-27 23:29

I developed an application that uses lots of images on Android.

There are lots of images present in drawable folder say more then 100, I am developing application fo

6条回答
  •  清歌不尽
    2020-11-28 00:02

    try stopping your animation at onPause(). there is a big chance its not getting GCED because of that. also optimize ur bitmaps using this site http://tinypng.org, if you don't need the alpha layer, set it to 24bit

提交回复
热议问题