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. QT won't discover my new Android phone for run device
Forum Updated to NodeBB v4.3 + New Features

QT won't discover my new Android phone for run device

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 2 Posters 162 Views
  • 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.
  • K Offline
    K Offline
    kgregory
    wrote on 15 Jan 2025, 03:46 last edited by kgregory
    #1

    I got a new android phone (Galaxy S24 Ultra). I'm trying to build and run my app on it like I always did with my previous phone (Galaxy S20 Ultra). I enabled developer mode on the new phone by going into the android settings and tapping build number 7 times.

    I connect the phone to my computer via USB and go to the USB menu on the phone and change it to "Software Update" (it defaults to "Transferring files / Android Auto"). I notice after about 30 seconds, it switches back to "Transferring files / Android Auto" on its own (I'm assuming this is related to my issue). I tried using differnt USB cables and different USB ports.

    In the run menu, I selected Android Qt 6.8.0 Clang arm64-v8a build and deploy to device. Under "run device", my phone new phone is not listed. The only options are my old phone and an AVD that I setup. I haven't been able to find a way to get it to discover my new phone.

    The new phone is running android 14. I'm running QT creator 14.0.2 based on Qt 6.7.3 on Windows 11. Screenshot below shows my SDK setup.

    Any ideas on why I can't deploy to the new phone?

    48e17dca-bcb2-495c-8286-333cdb9de15c-image.png

    J 1 Reply Last reply 15 Jan 2025, 06:15
    0
    • K kgregory
      15 Jan 2025, 03:46

      I got a new android phone (Galaxy S24 Ultra). I'm trying to build and run my app on it like I always did with my previous phone (Galaxy S20 Ultra). I enabled developer mode on the new phone by going into the android settings and tapping build number 7 times.

      I connect the phone to my computer via USB and go to the USB menu on the phone and change it to "Software Update" (it defaults to "Transferring files / Android Auto"). I notice after about 30 seconds, it switches back to "Transferring files / Android Auto" on its own (I'm assuming this is related to my issue). I tried using differnt USB cables and different USB ports.

      In the run menu, I selected Android Qt 6.8.0 Clang arm64-v8a build and deploy to device. Under "run device", my phone new phone is not listed. The only options are my old phone and an AVD that I setup. I haven't been able to find a way to get it to discover my new phone.

      The new phone is running android 14. I'm running QT creator 14.0.2 based on Qt 6.7.3 on Windows 11. Screenshot below shows my SDK setup.

      Any ideas on why I can't deploy to the new phone?

      48e17dca-bcb2-495c-8286-333cdb9de15c-image.png

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 15 Jan 2025, 06:15 last edited by
      #2

      @kgregory said in QT won't discover my new Android phone for run device:

      change it to "Software Update"

      I don't think this is necessary.
      Does "adb devices" show your new phone?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kgregory
        wrote on 16 Jan 2025, 03:31 last edited by
        #3

        Problem solved

        In my phone, I had to go into the "Security and Privacy" settings and turn off Auto Blocker. Then I was able to go into developer settings and turn on USB debugging.

        1 Reply Last reply
        0
        • K kgregory has marked this topic as solved on 16 Jan 2025, 03:32

        2/3

        15 Jan 2025, 06:15

        • Login

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