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 Creator cannot find Android device but adb can (Ubuntu)
Forum Updated to NodeBB v4.3 + New Features

Qt Creator cannot find Android device but adb can (Ubuntu)

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.6k 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.
  • N Offline
    N Offline
    Nayar
    wrote on 3 Jun 2014, 19:13 last edited by
    #1

    I have successfully compile and run apps on my phone using Qt 5.2.0 and Qt 5.3.0. But i formatted by pc recently and it can't seem to work now.

    on my console:
    @$ adb devices
    List of devices attached
    LGOTMS83df4d6d device
    @

    But Qt creator will say it didn't find any devices and suggest typing abd devices in console

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gatis.paeglis
      wrote on 4 Jun 2014, 07:08 last edited by
      #2

      Try to look at the Device settings in QtCreator under:

      Tools -> Options -> Devices

      Does any of the devices show green indicator?

      1 Reply Last reply
      0
      • N Offline
        N Offline
        Nayar
        wrote on 5 Jun 2014, 14:31 last edited by
        #3

        Managed to fix it. Actually, Qt was pointing to the adb in the Android SDK which is found in my home folder. If i were to cd into "~/adt-bundle-linux-x86_64-20131030/sdk/platform-tools/" and then run "./adb", it would say file not found. This is because the ./adb shipped with android bundle seems to be 32 bits.

        Fixed it by installing the following

        @$ apt-get install lib32z1
        $ apt-get install lib32stdc++6@

        1 Reply Last reply
        0

        1/3

        3 Jun 2014, 19:13

        • Login

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