Android ANR (App not responding | Jacque was right :-)

Ralph DiMola rdimola at evergreeninfo.net
Thu Sep 14 13:43:09 EDT 2023


Klaus,

You need to get it using a command prompt via USB. Connect device. Open
command prompt. In the android SDK platform-tools folder... Steps:

1) Clear the log
2) Get you app to crash
3) Get a log

ADB commands below:

ADB logcat -c
Now run your app till crash
ADB logcat


The log can be piped to a file.
In windows it's 

ADB logcat > somefile.txt

The logcat will keep running so on windows a ctrl C will terminate.

Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


-----Original Message-----
From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Thursday, September 14, 2023 1:24 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: Android ANR (App not responding | Jacque was right :-)

Hi Ralph,

> Am 14.09.2023 um 19:20 schrieb Ralph DiMola via use-livecode
<use-livecode at lists.runrev.com>:
> 
> Klaus,
> 
> Get a logcat after a crash

and where can I possibly find one on my tablet?

> and see if Panos can glean anything useful from it. It helped me once 
> identifying and getting a crash fix implemented.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdimola at evergreeninfo.net
> 
> -----Original Message-----
> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On 
> Behalf Of Klaus major-k via use-livecode
> Sent: Thursday, September 14, 2023 7:01 AM
> To: How to use LiveCode
> Cc: Klaus major-k
> Subject: Android ANR (App not responding | Jacque was right :-)
> 
> Hi all,
> 
> yesterday it* happened again!
> 
> *Around one of twenty times I start my app on my Samsung tablet, I get 
> a black screen.
> 
> I started the tablet, opened my app -> OK quit the app and started 
> again -> OK quit the app and started again -> OK quit the app and 
> attached my USB footswitch started the app -> BLACK SCREEN That also 
> happens without the attached footswitch
> 
> Then I took Jacque's advice and waited a bit and after about
> 30 seconds I got the "Application not responding" alter with two options:
> -> Close app
> -> Wait
> 
> So I clicked "Quit" and could start the app anew without any problem!
> 
> I am really wondering why this happens?!
> 
> On the first card there are just two polygrids with < 10 entries each, 
> loaded "on openstack" on the fly from the folders and files in the 
> resources folder See screenshot here:
> <https://www.dropbox.com/scl/fi/vsm7c9nhankru3xqhil6p/leadsheeter_card
> _1.png ?rlkey=09o2ljter5hramdhv3gm5x786&dl=0>
> (Ordner = folders)
> NO PDF is loaded yet!
> NO resizestack message, this is just for me and my tablet.
> NO "accelerated rendering" set for the stack
> 
> Any hints very welcome, not sure if I should open a bug report, since 
> this only happens from time to time, about 1 of twenty app starts.
> 
> macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
klaus at major-k.de


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list