I program an App with 2 activity(1 and 2). Everything runs perfect, but after several times of the App runs perfect, anytime when I start the app and goto activity 2, the App crash. In debug mode I got nothing report, I try to use Try...Catch to get what error but got nothing. After the App Crash for 1 time, each time I goto activity 2 the APP crash even if I reinstall it. I found a solution to make the App run rerfect again is to goto settings and clear the App's data, then it runs perfect again. But after some times of perfect run, it do the same crash again. So I need to clear the App's data again ...
In the App I do nothing about store data in memory or SD card. But I notice in settings the App's data can grow to several handred KB.
I use B4A 12.5, JDK18, Android SDK 31.
How can I know what happened when the App crash? Or how can I avoid it?
In the App I do nothing about store data in memory or SD card. But I notice in settings the App's data can grow to several handred KB.
I use B4A 12.5, JDK18, Android SDK 31.
How can I know what happened when the App crash? Or how can I avoid it?