My application crashes frequently so I used logcat on android studio to capture the error logs. I think I found the logs I needed but have no idea what they mean. I googled it but couldn’t find anything useful. This is where I need your help.
These are the logs that appeared when my app crashed:
2022-07-14 05:57:18.269 30373-30579/? E/AndroidRuntime: FATAL EXCEPTION: Thread-2986
Process: com.olayorganization.tickets, PID: 30373
java.lang.OutOfMemoryError: Failed to allocate a 4665612 byte allocation with 4523176 free bytes and 4MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:882)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:858)
at com.google.appinventor.components.runtime.util.MediaUtil.hxYOFxFjLpN1maJuWNxUV40nExCGxsxkDPOTgtzMu4zlZCQb3bPlKsXo1SYJg6ME(SourceFile:482)
at com.google.appinventor.components.runtime.util.MediaUtil.B8WBXPBCF2jGfUDZZU2zV5EYdqbUBu0lAZ0THCEqYyuE8VACR9dY7rDnwBIqh64T(SourceFile:52)
at com.google.appinventor.components.runtime.util.MediaUtil$2.run(SourceFile:429)
at java.lang.Thread.run(Thread.java:818)