galaxy s4 and maybe all HD phones? out of memory error inflating layout

后端 未结 3 1449
太阳男子
太阳男子 2020-12-16 04:21

So this app I am working on, works just fine on a really old miserable Android 2.3.3 phone. However when running it on the GS4, the GS4 is throwing out of memory exceptions

3条回答
  •  别那么骄傲
    2020-12-16 05:05

    I had the same problem and that was : Galaxy S4 and all 1920*1080 resolution devices , check in xxhdpi folder first and if there is not specific images,it will scale other sizes like xhdpi,... so i moved my pictures to xxhdpi folder and it Solved!

提交回复
热议问题