Application crashed

When I run the app from the apk it crashes for some reason.
I'm trying to figure out what the reason for this is by using
When Screen1 .ErrorOccurred

Unfortunately, this does not provide any information.
Any idea how to get information about the problem.

Unfortunately no because we need more information.

You can also try debugging yourself using Logcat.

Hi,
Please send the aia. of the app you're making, it will be easier for others to debug.(if it is only only for one app)

Thanks for your post.

I try to log Errors from application.
Here is information:

05-30 14:28:02.864 6344 6344 E VendorNfcService: changeNfcState: WIRELESS_CHARGING is disable; mIsWirelessCharging: false; mIsReverseChargingSwitchOpen: false
05-30 14:28:03.186 14600 14600 F crash_dump64: crash_dump.cpp:494] failed to attach to thread 1051: Permission denied
05-30 14:28:03.189 1051 1051 F libc : crash_dump helper failed to exec, or was killed
05-30 14:28:03.332 6921 6921 E ANR_LOG : >>> msg's executing time is too long
05-30 14:28:03.332 6921 6921 E ANR_LOG : Blocked msg = { when=-13s647ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.Web$9 } , cost = 13647 ms
05-30 14:28:03.332 6921 6921 E ANR_LOG : >>>Current msg List is:
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <1> = { when=-13s646ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <2> = { when=-13s641ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <3> = { when=-13s640ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <4> = { when=-13s640ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <5> = { when=-13s640ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <6> = { when=-13s640ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <7> = { when=-13s640ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <8> = { when=-13s628ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <9> = { when=-13s628ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : Current msg <10> = { when=-13s628ms what=0 target=android.os.Handler callback=com.google.appinventor.components.runtime.util.TimerInternal }
05-30 14:28:03.332 6921 6921 E ANR_LOG : >>>CURRENT MSG DUMP OVER<<<
05-30 14:28:03.340 2970 7245 E TheiaManager: [tagL]: starting dumpstate_theia via ctl.restart ...
05-30 14:28:03.377 2970 7245 E WindowManager: setOnBackInvokedCallback(): No window state for package:appinventor.ai_goup2010.Analizer
05-30 14:28:03.378 14602 14602 E dumpstate: [tagL]: theia logdump debug log enabled...
05-30 14:28:03.392 14602 14602 E dumpstate: [tagL]: TheiaDumpState
05-30 14:28:03.392 14602 14602 E dumpstate: [tagL]: initDumper
05-30 14:28:03.392 14602 14602 E dumpstate: [tagL]:targetPids[0]: 6921
05-30 14:28:03.392 14602 14602 E dumpstate: [tagL]: remove theia log file if need
05-30 14:28:03.392 14602 14602 E dumpstate: [tagL]: no need to delete boot log file
05-30 14:28:03.428 14602 14602 E dumpstate: [tagL]: getCriticalHead
05-30 14:28:03.459 14602 14602 E dumpstate: [tagL]: getTargetBacktrace
05-30 14:28:03.460 14602 14602 E dumpstate: [tagL]: mkdir /data/persist_log/theia/target_app_backtrace_3549e0ae49bad1c9feb1f9596f85c3b7_20230530112803459 &&mv /data/anr/theia_* /data/persist_log/theia/target_app_backtrace_3549e0ae49bad1c9feb1f9596f85c3b7_20230530112803459/
05-30 14:28:03.521 14602 14602 E dumpstate: [tagL]: getAndroidLog
05-30 14:28:04.125 14602 14602 E dumpstate: [tagL]: getProp
05-30 14:28:04.558 1333 1333 F libc : failed to wait for crash_dump helper: No child processes
05-30 14:28:04.628 1334 1334 F libc : failed to wait for crash_dump helper: No child processes
05-30 14:28:04.722 2488 3654 E face_aidl.AlgoEngine: VerifyImageThread threadLoop

Permission denied? You might want to show your blocks because you might have an issue with declaring permissions.

The project is too big.
Application get from web a lot of small pictures and write them to Android device.
Everything works fine if the images are less than 300.

If problem is in "declaring permissions" the problem is not working when use small web requests.

Normally you shouldn't have so many images; I for one wouldn't have over 100. You might want to use the URLs directly to show the images, or compress them.

You are right.
I want them to be saved to the device during installation. For the application to work without an Internet connection.

I see "msg's executing time is too long". How to increase executing time limit?