Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20841

Unable to debug on Android: Failed to get process path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • Qt Creator 4.7.0, Qt Creator 4.7.1
    • Debugger
    • None
    • * Host OS: Windows 10 64 bit
      * NDK 16b
      * SDK 26
      * QtCreator 4.7.0
      * Qt 5.9.6 Android x86
      * Target OS: Android 7.1 x86 on virtual machine
    • Android

    Description

      I have installed the Android x86 v7.1  on a Virtual Maschine and I want to use the ADB debugging via the networking.

      I have configured the Android's target's ADB utility to use the networking debugging instead of the USB debugging.

      I have entered this commands from an Android's target terminal:

      su setprop service.adb.tcp.port 5555
      stop adbd
      start adbd

      then to get an target's IP address:

      ifconfig

      Then I have conencted to the target from the Windows host:

      adb connect 192.168.101.128

      Then I try to list an ADB devices:

      c:\Android\android-sdk-r24.3.4\platform-tools>adb devices
      List of devices attached
      192.168.101.128:5555    device

      So.. while all fine.

      Now I try to open from the QtCreator the standard notification example, build it and try to debug. But the target application does not start on a target Android, the QtCreator says:

      Failed to get process path. Reason: The command "C:\Android\android-sdk-r24.3.4\platform-tools\adb.exe" terminated with exit code -1..
      
      
      "org.qtproject.example.notification" died.

      But when I click to the "Run" button (instead of "Debug" button), then a target application starts.

       

       

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              vikas Vikas Pachdha
              kuzulis Denis Shienkov
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes