Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Unable to debug device
Forum Updated to NodeBB v4.3 + New Features

Unable to debug device

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
androiddebugdebuggingarmv7
1 Posts 1 Posters 505 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bludger
    wrote on 15 Jan 2022, 21:41 last edited by
    #1

    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.2

    When 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.

    1 Reply Last reply
    0

    1/1

    15 Jan 2022, 21:41

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved