cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <>
Subject [jira] [Commented] (CB-8765) Error running an app in device with a name with a space char
Date Mon, 15 Feb 2016 13:54:18 GMT


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:
>             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 "' + + '"
> More sequences with the adb process must be changed with doble quotes in the device name.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message