Ricardo C.
09/20/2024, 1:54 PMApplicationExitInfo
(https://developer.android.com/reference/android/app/ApplicationExitInfo#REASON_ANR)?
I wanted to test some ANR reporting but I’m not able to actually reproduce an ANR.
I’ve attempted (all inside an on click):
• Thread.sleep(60000)
• while (true) {}
• Deadlocking with a mutex
All of these crash the app but the exit info reason is always something else.
There’s a couple of similar threads on this channel but they didn’t really help me.
Thanks!juliocbcotta
09/20/2024, 7:11 PMRicardo C.
09/21/2024, 10:18 AMjuliocbcotta
09/21/2024, 10:21 AMRicardo C.
09/21/2024, 7:15 PM