Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtCreator WiFi debugging error: adb server version (41) doesn't match this client (39); killing...



  • Hello
    i am trying debug my android device via usb
    i ran commands:

    Connect device via USB and make sure debugging is working, then run:
    adb tcpip 5555
    adb connect <DEVICE_IP_ADDRESS>:5555
    Disconnect USB and proceed with wireless debugging.

    And proceeded to QtCreator but it shows me this error:

    Screenshot from 2021-02-18 11-56-42.png

    What can i do about it?

    I am running Ubuntu 20.04 PC and Android 9 on the device

    SDK 3.0 NDK 21.1.6352462



  • Solved by:

    adb kill-server
    sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
    sudo chmod +x /usr/bin/adb
    adb start-server
    

    thanks to this



  • Solved by:

    adb kill-server
    sudo cp ~/Android/Sdk/platform-tools/adb /usr/bin/adb
    sudo chmod +x /usr/bin/adb
    adb start-server
    

    thanks to this