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. My device is not found
QtWS25 Last Chance

My device is not found

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
16 Posts 4 Posters 4.9k 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.
  • W WhatIf

    Hi,

    I have been trying to run my first mobile app but Qt pops up a dialog "Select Android Device" stating that no compatible device was found, my phone is not listed.

    I installed Android SDK, Android NDK, Java SE Development Kit (JDK) , and Apache Ant.

    I read online that I have to install Google USB Driver in order for my phone to be recognized. I ran the SDK manager and selected the Google USB Driver form the SDK Tools tab and it was installed.

    I also selected application development and selected USB debugging on my phone and still my phone is not listed.

    Would greatly appreciate your assistance

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

    @WhatIf Is your device not listed at all, or is it listed as incompatible?

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

    1 Reply Last reply
    0
    • W Offline
      W Offline
      WhatIf
      wrote on last edited by
      #3

      Here is a screenshot:

      https://s23.postimg.org/d2eoakbi3/Android_Device.jpg

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Hi,

        What are your phone specifications ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • W Offline
          W Offline
          WhatIf
          wrote on last edited by
          #5

          http://www.gsmarena.com/t_mobile_mytouch_4g_slide-4018.php

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            As written here, the minimum API level is 16 which means Android 4.1. Yours is at 2.3.4.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • W Offline
              W Offline
              WhatIf
              wrote on last edited by
              #7

              The other alternative to getting a new phone is to Create Android Virtual Device. When I click the button I get "Cannot create a AVD for ABI armeabi-v7a. Install an image for it."

              When I searched online, they mention that armeabi-v7a is listed under SDK Tools in SDK Manager. That doesn't seem to be the case.

              How can I get a virtual device to work?

              jsulmJ 1 Reply Last reply
              0
              • W WhatIf

                The other alternative to getting a new phone is to Create Android Virtual Device. When I click the button I get "Cannot create a AVD for ABI armeabi-v7a. Install an image for it."

                When I searched online, they mention that armeabi-v7a is listed under SDK Tools in SDK Manager. That doesn't seem to be the case.

                How can I get a virtual device to work?

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

                @WhatIf https://stackoverflow.com/questions/10019532/no-abi-error-when-creating-an-android-virtual-device

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

                1 Reply Last reply
                1
                • W Offline
                  W Offline
                  WhatIf
                  wrote on last edited by WhatIf
                  #9

                  This is one of the website I came a cross while searching for a solution. I'm running Windows and here is what my SDK Manager displays

                  https://s11.postimg.org/e8w84w5o3/SDK_Tools.jpg

                  No ARM EABI v7a

                  jsulmJ 1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Avtansh Sharma
                    wrote on last edited by
                    #10

                    @WhatIf

                    Please follow below steps

                    Turn on developer options
                    Turn on adb debugging

                    Please use below commands
                    Always use adb from latest android SDK installed

                    Adb kill-server
                    Adb start-server
                    Adb devices

                    If on windows just run command prompt by run as administrator

                    On Linux systems use sudo.
                    Always remember run qt by admin rights. I.e sudo in linux

                    After this your device will start showing up
                    If still after running commands there is no device shown change cable and try different USB port

                    1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      WhatIf
                      wrote on last edited by
                      #11

                      Tried running adb devices as administrator and got

                      'adb' is not recognized as an internal or external command,
                      operable program or batch file.

                      ran the command from inside C:\Users\Mike\AppData\Local\Android\sdk\tools>

                      A 1 Reply Last reply
                      0
                      • W WhatIf

                        This is one of the website I came a cross while searching for a solution. I'm running Windows and here is what my SDK Manager displays

                        https://s11.postimg.org/e8w84w5o3/SDK_Tools.jpg

                        No ARM EABI v7a

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

                        @WhatIf Please check the "Show Package Details" check-box in "SDK-Tools"...

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

                        1 Reply Last reply
                        0
                        • W WhatIf

                          Tried running adb devices as administrator and got

                          'adb' is not recognized as an internal or external command,
                          operable program or batch file.

                          ran the command from inside C:\Users\Mike\AppData\Local\Android\sdk\tools>

                          A Offline
                          A Offline
                          Avtansh Sharma
                          wrote on last edited by Avtansh Sharma
                          #13

                          @WhatIf
                          Yes ofcourse you to run it from path. Else you can add path to System Environment variables if you don't want to navigate to directory.
                          So did you finally got your device working?

                          As for the minimum requirements of Api level 16 . You can updgrade the device Android version by taking latest os from Cyanogen mod .

                          1 Reply Last reply
                          0
                          • W Offline
                            W Offline
                            WhatIf
                            wrote on last edited by
                            #14

                            I kept trying until I found that the images are now under SDK Platforms not SKD Tools. The following image shows what I have installed

                            https://s1.postimg.org/4zu9d99yj3/ARM_EABI_v7a_image.jpg

                            I thought this would fix the problem but I still get

                            Cannot create a AVD for ABI armeabi-v7a. Install an image for it

                            https://s17.postimg.org/t6218zedr/create_AVD.jpg

                            jsulmJ A 2 Replies Last reply
                            0
                            • W WhatIf

                              I kept trying until I found that the images are now under SDK Platforms not SKD Tools. The following image shows what I have installed

                              https://s1.postimg.org/4zu9d99yj3/ARM_EABI_v7a_image.jpg

                              I thought this would fix the problem but I still get

                              Cannot create a AVD for ABI armeabi-v7a. Install an image for it

                              https://s17.postimg.org/t6218zedr/create_AVD.jpg

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

                              @WhatIf What API level do you use? You installed the image for 25.

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

                              1 Reply Last reply
                              0
                              • W WhatIf

                                I kept trying until I found that the images are now under SDK Platforms not SKD Tools. The following image shows what I have installed

                                https://s1.postimg.org/4zu9d99yj3/ARM_EABI_v7a_image.jpg

                                I thought this would fix the problem but I still get

                                Cannot create a AVD for ABI armeabi-v7a. Install an image for it

                                https://s17.postimg.org/t6218zedr/create_AVD.jpg

                                A Offline
                                A Offline
                                Avtansh Sharma
                                wrote on last edited by
                                #16

                                @WhatIf Can you create avd in android studio.

                                1 Reply Last reply
                                0

                                • Login

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