Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12059

No devices returned by cordova run windows --list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 6.3.1
    • None
    • None

    Description

      Cordova CLI v6.3.1, Cordova Windows v4.4.2 on Surface Pro 4.

      I have Visual Studio 2015 installed and the Win 10 SDK and can successfully deploy my apps to the SurfacePro using the Cordova command line via:

      cordova run windows

      I have a Lumia 550 Windows 10 phone connected via USB to the SurfacePro and have enabled Developer Mode, Device discovery and Device Portal (without Authentication) on the phone in the Settings under "For Developers".

      I can deploy to this phone by opening the CordovaApp.sln file generated by Cordova in Visual Studio, selecting ARM and deploying to the attached device. It works well.

      When I run this command:

      WinAppDeployCmd devices

      I get this output which indicates that my phone is found:

      Discovering devices...
      IP Address GUID Model/Name
      127.0.0.1 <GUID removed> Lumia 550 (RM-1127)
      Done.

      However, when I run the following Cordova CLI command:

      cordova run windows --list

      I get this output which indicates no devices found:

      Available windows devices:
      Available windows virtual devices:

      Given that Cordova doesn't recognise my attached device, I am not able to deploy directly to it using the Cordova CLI.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gmawson Graeme Mawson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: