[
https://issues.apache.org/jira/browse/CB-8765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147376#comment-15147376
]
jcesarmobile commented on CB-8765:
----------------------------------
The problem is, when you run "cordova run android --device", you don't manually
choose the name to use, it picks the connected device ID, in this case
"Valencia DG800", and it fails to run.
It's not an user problem, as he doesn't pick the ID, the ID comes from adb, and
it's the device vendor's fault that it returns "Valencia DG800" when it should
be an unique ID, and "Valencia DG800" is the model name.
Are we sure this is an edge case and the "Valencia DG800" device is the only
one with a space on the ID?
BTW, using cordova run android --target='Valencia DG800' should work as a
workaround.
> Error running an app in device with a name with a space char
> ------------------------------------------------------------
>
> Key: CB-8765
> URL: https://issues.apache.org/jira/browse/CB-8765
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 4.0.0
> Reporter: Hector Santos
> Priority: Minor
> Labels: adb, easyfix, patch, run
> Fix For: Master
>
>
> When try to run a cordova run android --device, if the device name have a
> space (like VALENCIA DG800), the ADB process give an error... This can be
> solve adding a double quotes in the device name:
> adb -s "' + resolvedTarget.target + '"
> More sequences with the adb process must be changed with doble quotes in the
> device name.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]