Important: Please read the Qt Code of Conduct -

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

  • 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

  • Try to look at the Device settings in QtCreator under:

    Tools -> Options -> Devices

    Does any of the devices show green indicator?

  • 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@

Log in to reply