Android phone "crashing" on test-startup

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By pferft

Hi everyone,

I’ve been testing development of my project via USB on my (old A3) Android-phone flawlessly for years, but now suddenly it won’t start anymore. It installes and boots up, but the moment it should start running, the phone switches back to “desktop”… the app is still there in the background, but trying to focus it in again results in switching back to “desktop”.

Has anyone experienced similar issues?

:bust_in_silhouette: Reply From: Patrick_W

you should run adb logcat to see what the issue is.
open a command prompt and enter

adb logcat -s godot

and the run your app

Sorry for my late reply, but thanks for your answer.
Unfortunately I can’t get any command prompt running… working on Windows 10 the cmd window won’t accept “adb logcat -s godot”. Perhaps I’m misunderstanding something?

EDIT:
Checking Deploy With Remote Debug gave me some Info, namely: "platform/windows/os_windows.cpp:2965 - Condition "!process_map->has(p_pid)" is true. Returned: FAILED
"
I have a feeling that there are too many preloads happening on startup, causing the crash. Is it possible that the old phone’s CPU can’t make it? Everything runs smoothly on the PC after all…

pferft | 2023-07-03 14:36