You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/10/25 10:06:58 UTC

[jira] [Commented] (CB-12059) No devices returned by cordova run windows --list

    [ https://issues.apache.org/jira/browse/CB-12059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15604857#comment-15604857 ] 

Vladimir Kotikov commented on CB-12059:
---------------------------------------

We currently list windows phone 8.1 devices/emulators by default. To list windows 10 devices you'll need to add {{--win10}} options to {{cordova run --list}} command, like this: {{cordova run --list -- --win10}}

Also to deploy app to win10 phone you can use this command {{cordova run windows --device -- --appx uap --archs arm --phone}} which doesn't require any knowledge about conected device's name

> No devices returned by cordova run windows --list
> -------------------------------------------------
>
>                 Key: CB-12059
>                 URL: https://issues.apache.org/jira/browse/CB-12059
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 6.3.1
>            Reporter: Graeme Mawson
>              Labels: reproduced, triaged
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org