Unable to debug device
-
Hi all!
For a while I try to get Qt Creator Android debugging up & running with my development device. Wondering if more people experience the same issue.
Whenever I try to debug my app on a ARMv7 device it is unable to start the debugger and the device waits forever with the famous 'Waiting for debugger' popup. If, however, I try to debug the same app with the x86 or x86_64 emulator it works fine.
I'm on the latest open source available Qt 5.15 LTS version and using the latest Qt Creator version (6.0.1). All settings regarding Android in Qt Creator all validated as OK.
NDK version: 21.3.6528147
SDK version: 31.0.3
Qt version: 5.15.2When I compile my app for the following ABIs armeabi-v7a, arm64-v8a, x86 and x86_64 and debug the app in the x86 emulator all works fine. Whenever I try to debug the same binary on my physical device (ARMv7) it won't work. There is no meaningful information in the Application output pane beside unable to load some library symbols (this message is also printed for simulator debugger). However when I try to run the application from Qt Creator it starts normally and will also run perfectly, only there is no output in the Application pane.
Does someone experience the same issue and have a fix for it? I'm not sure what else I can try to fix it. I already reinstalled Android SDK and NDKs, downgraded to Qt Creator 5.0.3, rebooted the physical device a couple of times and resetted the project settings and Android template files (AndroidManifest, gradle etc) numerous of times to no avail.