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

[jira] [Commented] (CB-11910) cordova run android --device doesn't work (while --target does)

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

jcesarmobile commented on CB-11910:
-----------------------------------

Yes, --device will run on a connected device, but you can't choose which one, --target will let you choose which one.

Can I close this or do you think the documentation is not clear enough?

>  cordova run android --device doesn't work (while --target does)
> ----------------------------------------------------------------
>
>                 Key: CB-11910
>                 URL: https://issues.apache.org/jira/browse/CB-11910
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 6.2.0
>         Environment: macOS Sierra, Android Studio 2.2 (and related Android SDK updates)
>            Reporter: Ash Ryan Arnwine
>            Priority: Minor
>
> $ cordova run android --device=<deviceID>
> gives this error:
> > Error: Unknown platforms: <deviceID>
> $ cordova run android --target=<deviceID>
> is working fine.



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