Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator unable to see my Android device!
Forum Updated to NodeBB v4.3 + New Features

Qt Creator unable to see my Android device!

Scheduled Pinned Locked Moved Qt Creator and other tools
12 Posts 6 Posters 6.8k 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.
  • francescmmF Offline
    francescmmF Offline
    francescmm
    wrote on last edited by
    #2

    Try with the command adb in the command prompt to show connected devices:

    @adb devices@

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mbnoimi
      wrote on last edited by
      #3

      [code]mbnoimi@mbnoimi-pc:~/android-sdk-linux/platform-tools > ./adb devices
      List of devices attached
      ???????????? no permissions[/code]

      1 Reply Last reply
      0
      • francescmmF Offline
        francescmmF Offline
        francescmm
        wrote on last edited by
        #4

        I think it is not only a Qt Creator problem, but also from the detection of the device.

        Have you set the device in debbug mode?

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mbnoimi
          wrote on last edited by
          #5

          [quote]Have you set the device in debbug mode?[/quote]
          Yes, in addition to that I tried to use different types of mobiles (Samsung Galaxy S3 and Samsung Galaxy Note II)

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mehrdadsilver
            wrote on last edited by
            #6

            mbnoimi,

            Do you install and set Android NDK, SDK , JDK and apache ant paths?
            you should set these parameters in Android section in Qt Creator options.
            also you should download qt for android with suitable compiler(android for arm or android for x86).

            also in android device you should mark Developers Debugging option in settings.
            Finally check usb driver.

            Mehrdad Abdolghafari, Be silver

            1 Reply Last reply
            0
            • L Offline
              L Offline
              leenam
              wrote on last edited by
              #7

              There is an updated version of the documentation available at:

              http://qt-project.org/doc/qtcreator-2.8/creator-developing-android.html

              Version 2.8 documentation also includes a tutorial:

              http://qt-project.org/doc/qtcreator-2.8/creator-android-app-tutorial.html

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mbnoimi
                wrote on last edited by
                #8

                [quote]There is an updated version of the documentation[/quote]
                The updated documentation doesn’t mention anything may fix this issue!

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mbnoimi
                  wrote on last edited by
                  #9

                  [quote]Do you install and set Android NDK, SDK , JDK and apache ant paths?
                  you should set these parameters in Android section in Qt Creator options.
                  also you should download qt for android with suitable compiler(android for arm or android for x86).

                  also in android device you should mark Developers Debugging option in settings.[/quote]
                  Sure I did all of that :\

                  [quote] Finally check usb driver.[/quote]
                  What do you mean?! My pc able to see the memory card of the mobile.

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    Walter
                    wrote on last edited by
                    #10

                    I have just installed Qt 5.1.1 and QtCreator 4.8.1 does not find my Android devices. DDMS however does. QtCreator 4.7.2 from Qt 5.1.0 finds the phone too., even when I use a Qt5.1.1 toolkit. So this really seems to be a bug in QtCreator 2.8.1.

                    1 Reply Last reply
                    0
                    • M Offline
                      M Offline
                      mbnoimi
                      wrote on last edited by
                      #11

                      Needs some help from Qt Android gurus to be sure what if this is a real bug or it just configurations issue.

                      1 Reply Last reply
                      0
                      • Z Offline
                        Z Offline
                        ZeAL0T
                        wrote on last edited by
                        #12

                        [quote author="mbnoimi" date="1378814184"][code]mbnoimi@mbnoimi-pc:~/android-sdk-linux/platform-tools > ./adb devices
                        List of devices attached
                        ???????????? no permissions[/code][/quote]

                        You can try to fix the problem the next way:

                        1. Execute "lsusb" to find out your device vendor ID (to me it was: "Bus 003 Device 003: ID 0fce:5194 Sony Ericsson Mobile Communications AB")
                        2. Create a file /etc/udev/rules.d/51-android.rules with such a content:
                          SUBSYSTEMS=="usb", ATTRS{idVendor}=="0fce", ATTRS{idProduct} =="5194",
                          MODE="0666", OWNER="your_user_name"
                        3. execute "/etc/init.d/udev reload"
                        4. Unplug/plug the device
                        5. execute "adb devices" (It should answer something like:
                          "List of devices attached
                          CB5Axxxxxx device"
                        6. If the answer still has "?????", execute:
                          sudo ./adb kill-server
                          sudo ./adb start-server
                          sudo ./adb devices
                        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