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. Qt6.8.2 Android:No Device set.
Forum Updated to NodeBB v4.3 + New Features

Qt6.8.2 Android:No Device set.

Scheduled Pinned Locked Moved Solved Mobile and Embedded
10 Posts 3 Posters 331 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.
  • X Offline
    X Offline
    Xuehs
    wrote on last edited by
    #1

    I have configured SDK, NDK and SSL according to the documents and videos on the official website, and the configuration displayed in Qt is correct.Below is the screenshot:
    700d2d9e-a1aa-4187-b8e8-fe508c2d07f5-image.png
    e989cd1a-c8ff-4528-ac8a-be3e426a5474-image.png
    But I have the following problem:
    afb424ea-71b0-4730-95b1-b1587d419a14-image.png
    cbdc7b9c-ca63-4c9a-bf98-869f8726b88c-image.png
    69cd6acd-0160-4436-bc48-72c77538882d-image.png
    2043eceb-f21a-488e-a737-404e795bb968-image.png
    What should I do?

    jsulmJ 1 Reply Last reply
    0
    • X Xuehs

      I have configured SDK, NDK and SSL according to the documents and videos on the official website, and the configuration displayed in Qt is correct.Below is the screenshot:
      700d2d9e-a1aa-4187-b8e8-fe508c2d07f5-image.png
      e989cd1a-c8ff-4528-ac8a-be3e426a5474-image.png
      But I have the following problem:
      afb424ea-71b0-4730-95b1-b1587d419a14-image.png
      cbdc7b9c-ca63-4c9a-bf98-869f8726b88c-image.png
      69cd6acd-0160-4436-bc48-72c77538882d-image.png
      2043eceb-f21a-488e-a737-404e795bb968-image.png
      What should I do?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Xuehs Go to your Android Kit configuration and select Android device there as device

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

      1 Reply Last reply
      0
      • X Offline
        X Offline
        Xuehs
        wrote on last edited by
        #3

        Can you be a little more specific?
        65a63d05-7eb6-4422-9ad7-b6dabf1f8925-image.png
        There doesn't seem to be an Android Device to choose from.

        jsulmJ 1 Reply Last reply
        0
        • X Xuehs

          Can you be a little more specific?
          65a63d05-7eb6-4422-9ad7-b6dabf1f8925-image.png
          There doesn't seem to be an Android Device to choose from.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Xuehs Yes, either use Android emulator or a phone to run your app.

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

          X 1 Reply Last reply
          0
          • J.HilkJ Online
            J.HilkJ Online
            J.Hilk
            Moderators
            wrote on last edited by
            #5

            If you're using an actual phone, make sure usb debugging is enabled in the developer settings and that file transfer via USB is also enabled.

            2 typical pitfalls.

            Also make sure your device is officially supported by AndroidStudio, some OEM's have proprietary tool chains & sdk's and you won't be able to make those work (easily, I never was able)


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            X 1 Reply Last reply
            0
            • J.HilkJ J.Hilk

              If you're using an actual phone, make sure usb debugging is enabled in the developer settings and that file transfer via USB is also enabled.

              2 typical pitfalls.

              Also make sure your device is officially supported by AndroidStudio, some OEM's have proprietary tool chains & sdk's and you won't be able to make those work (easily, I never was able)

              X Offline
              X Offline
              Xuehs
              wrote on last edited by
              #6

              @J-Hilk Are you saying that if I'm using a real phone, I need to put the phone in developer mode and turn on USB debug?Thank you very much for reminding me, but my real USB connected phone is not found in Qt now.It's too early to tell, I can't compile my project right now because I haven't deployed the Android environment yet.

              J.HilkJ 1 Reply Last reply
              0
              • X Xuehs

                @J-Hilk Are you saying that if I'm using a real phone, I need to put the phone in developer mode and turn on USB debug?Thank you very much for reminding me, but my real USB connected phone is not found in Qt now.It's too early to tell, I can't compile my project right now because I haven't deployed the Android environment yet.

                J.HilkJ Online
                J.HilkJ Online
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                @Xuehs usb-debugging needs to be enabled and MIDI should be selected for file transfer mode. on my pixel this always defaults back to no file transfer via usb, no idea why, once the cable is removed.


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                1 Reply Last reply
                0
                • jsulmJ jsulm

                  @Xuehs Yes, either use Android emulator or a phone to run your app.

                  X Offline
                  X Offline
                  Xuehs
                  wrote on last edited by
                  #8

                  @jsulm
                  I have now added an Android device, as shown below:
                  ee40eeba-a616-4458-9d51-ad2d6988ffc6-image.png
                  96c48281-2194-4741-a5b7-8f2ccf7b28fe-image.png
                  Then I created a new Android project(blank project), directly compiled, the error is as follows:
                  55b5eb23-47a9-45f8-939f-ff0a44e5fe0a-image.png
                  What should i do?

                  jsulmJ 1 Reply Last reply
                  0
                  • X Xuehs

                    @jsulm
                    I have now added an Android device, as shown below:
                    ee40eeba-a616-4458-9d51-ad2d6988ffc6-image.png
                    96c48281-2194-4741-a5b7-8f2ccf7b28fe-image.png
                    Then I created a new Android project(blank project), directly compiled, the error is as follows:
                    55b5eb23-47a9-45f8-939f-ff0a44e5fe0a-image.png
                    What should i do?

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @Xuehs Is your machine connected to the internet?

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

                    X 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Xuehs Is your machine connected to the internet?

                      X Offline
                      X Offline
                      Xuehs
                      wrote on last edited by
                      #10

                      @jsulm The compilation is now stuck in the image below.
                      e3c07b77-61f8-4c59-ba8c-8be4fa157a1a-image.png
                      What can I do?

                      1 Reply Last reply
                      0
                      • X Xuehs has marked this topic as solved on

                      • Login

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