java.lang.OutOfMemoryError: Failed to allocate a allocation until OOM

后端 未结 4 648
有刺的猬
有刺的猬 2021-01-15 15:37

Actually, I am trying to create a app with n number of multimedia files which includes images and videos. My apps size is around 34MB, and my assets size is aro

4条回答
  •  野的像风
    2021-01-15 16:19

    This is happening because of large size image. Try with small size image i.e. of your phone screen resolution.

    I had the same problem. Tried reducing the image size in Paint with 2100 x 1300 px and it worked but the app was lagging very much.

提交回复
热议问题