Out of Memory error when using AnimationDrawable

前端 未结 1 1313
轮回少年
轮回少年 2021-01-24 03:41

Hi I\'m trying to create a logo animation from a few png images i have created an animation and it crashes with an out of memory error. Does anyone know a solution to this?

1条回答
  •  逝去的感伤
    2021-01-24 04:09

    try to add largeHeap=true in your application tag of your
    manifest.

    I hope this help.

    or try using small size image.

    0 讨论(0)
提交回复
热议问题