[
https://issues.apache.org/jira/browse/CB-8060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oliver Salzburg updated CB-8060:
--------------------------------
Description:
Running {{cordova run wp8}} will always start an emulator.
Running {{platforms/wp8/cordova/run --device}} will give the following output
{code}
$ platforms/wp8/cordova/run --device
Building project: d:/eu.fairmanager.mobile/platforms/wp8/FairManager.sln
Configuration : debug
Platform : any cpu
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
FairManager ->
d:\eu.fairmanager.mobile\platforms\wp8\Bin\Debug\eu.fairmanager.mobile.dll
Begin application manifest generation
No changes detected. Application manifest file is up to date
Begin Xap packaging
No changes detected. Xap package is up to date
Deploying package to device
Error: The parameter is incorrect.
XapDeployCmd - Help
Syntax:
XapDeployCmd.exe <cmd[:param]> <Product-id/Xap FileName> <targetdevice[:param]>
<cmd[:param]> - Specifies the command to be executed (one of the following)
/installlaunch - installs and launches the application on the device.
(requires Xap Filename)
/update - updates application already installed on device
(requires Xap Filename)
/launch - launches application installed on the device
(requires product-id)
/uninstall - uninstalls the application from the device
(requires product-id)
/EnumerateDevices - lists the valid device targets along with their
device indices.
<product-id> - Specifies the GUID of the product. This is located in
WMAppManifest.xml file of the project
<Xap Filename> - Specifies the full path of Xap to be installed/updated.
</targetdevice[:param]> - Specifies the target device (one of the following)
xd - default emulator
de - Windows Phone device connected to the desktop
n - device listed at index n. To get the list of devices
use the following command
"XapDeployCmd.exe /EnumerateDevices"
Examples: (assuming product id is f8ce6878-0aeb-497f-bcf4-65be961d4bba and
XapFilePath is D:\PhoneApp1.xap)
XapDeployCmd.exe /installlaunch D:\PhoneApp1.xap /targetdevice:xd
- installs PhoneApp1 on the default emulator and then launches it
XapDeployCmd.exe /launch f8ce6878-0aeb-497f-bcf4-65be961d4bba /targetdevice:de
- launches the app with specified product id on the device
XapDeployCmd.exe /update D:\PhoneApp1.xap /targetdevice:2
- updates PhoneApp1 already installed on the device
specified by device index 2. To get the list of valid indices use
the EnumerateDevices command
XapDeployCmd.exe /uninstall f8ce6878-0aeb-497f-bcf4-65be961d4bba
/targetdevice:xd
- uninstalls the app with specified product id from the default emulator
XapDeployCmd.exe /EnumerateDevices
- enumerates the list of valid device targets along with their
corresponding device index
ERROR: Error code -2147024809 for command: C:\Program Files (x86)\Microsoft
SDKs\Windows Phone\v8.0\Tools\Xap Deployment\XapDeployCmd.exe with args:
/installlau
nch,d:/eu.fairmanager.mobile/platforms/wp8/Bin/debug/CordovaAppProj_Debug_AnyCPU.xap,/targetdevice:de
{code}
The project deploys fine to the device when using Visual Studio.
was:
Running `cordova run wp8` will always start an emulator.
Running `platforms/wp8/cordova/run --device` will give the following output
```
$ platforms/wp8/cordova/run --device
Building project: d:/eu.fairmanager.mobile/platforms/wp8/FairManager.sln
Configuration : debug
Platform : any cpu
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
FairManager ->
d:\eu.fairmanager.mobile\platforms\wp8\Bin\Debug\eu.fairmanager.mobile.dll
Begin application manifest generation
No changes detected. Application manifest file is up to date
Begin Xap packaging
No changes detected. Xap package is up to date
Deploying package to device
Error: The parameter is incorrect.
XapDeployCmd - Help
Syntax:
XapDeployCmd.exe <cmd[:param]> <Product-id/Xap FileName> <targetdevice[:param]>
<cmd[:param]> - Specifies the command to be executed (one of the following)
/installlaunch - installs and launches the application on the device.
(requires Xap Filename)
/update - updates application already installed on device
(requires Xap Filename)
/launch - launches application installed on the device
(requires product-id)
/uninstall - uninstalls the application from the device
(requires product-id)
/EnumerateDevices - lists the valid device targets along with their
device indices.
<product-id> - Specifies the GUID of the product. This is located in
WMAppManifest.xml file of the project
<Xap Filename> - Specifies the full path of Xap to be installed/updated.
</targetdevice[:param]> - Specifies the target device (one of the following)
xd - default emulator
de - Windows Phone device connected to the desktop
n - device listed at index n. To get the list of devices
use the following command
"XapDeployCmd.exe /EnumerateDevices"
Examples: (assuming product id is f8ce6878-0aeb-497f-bcf4-65be961d4bba and
XapFilePath is D:\PhoneApp1.xap)
XapDeployCmd.exe /installlaunch D:\PhoneApp1.xap /targetdevice:xd
- installs PhoneApp1 on the default emulator and then launches it
XapDeployCmd.exe /launch f8ce6878-0aeb-497f-bcf4-65be961d4bba /targetdevice:de
- launches the app with specified product id on the device
XapDeployCmd.exe /update D:\PhoneApp1.xap /targetdevice:2
- updates PhoneApp1 already installed on the device
specified by device index 2. To get the list of valid indices use
the EnumerateDevices command
XapDeployCmd.exe /uninstall f8ce6878-0aeb-497f-bcf4-65be961d4bba
/targetdevice:xd
- uninstalls the app with specified product id from the default emulator
XapDeployCmd.exe /EnumerateDevices
- enumerates the list of valid device targets along with their
corresponding device index
ERROR: Error code -2147024809 for command: C:\Program Files (x86)\Microsoft
SDKs\Windows Phone\v8.0\Tools\Xap Deployment\XapDeployCmd.exe with args:
/installlau
nch,d:/eu.fairmanager.mobile/platforms/wp8/Bin/debug/CordovaAppProj_Debug_AnyCPU.xap,/targetdevice:de
```
The project deploys fine to the device when using Visual Studio.
> Unable to deploy to Windows Phone 8 device
> ------------------------------------------
>
> Key: CB-8060
> URL: https://issues.apache.org/jira/browse/CB-8060
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP8
> Affects Versions: 3.7.0
> Environment: Windows 8.1 Pro x64
> Reporter: Oliver Salzburg
> Assignee: Jesse MacFadyen
>
> Running {{cordova run wp8}} will always start an emulator.
> Running {{platforms/wp8/cordova/run --device}} will give the following output
> {code}
> $ platforms/wp8/cordova/run --device
> Building project: d:/eu.fairmanager.mobile/platforms/wp8/FairManager.sln
> Configuration : debug
> Platform : any cpu
> Building the projects in this solution one at a time. To enable parallel
> build, please add the "/m" switch.
> FairManager ->
> d:\eu.fairmanager.mobile\platforms\wp8\Bin\Debug\eu.fairmanager.mobile.dll
> Begin application manifest generation
> No changes detected. Application manifest file is up to date
> Begin Xap packaging
> No changes detected. Xap package is up to date
> Deploying package to device
> Error: The parameter is incorrect.
> XapDeployCmd - Help
> Syntax:
> XapDeployCmd.exe <cmd[:param]> <Product-id/Xap FileName>
> <targetdevice[:param]>
> <cmd[:param]> - Specifies the command to be executed (one of the following)
> /installlaunch - installs and launches the application on the
> device.
> (requires Xap Filename)
> /update - updates application already installed on device
> (requires Xap Filename)
> /launch - launches application installed on the device
> (requires product-id)
> /uninstall - uninstalls the application from the device
> (requires product-id)
> /EnumerateDevices - lists the valid device targets along with their
> device indices.
> <product-id> - Specifies the GUID of the product. This is located in
> WMAppManifest.xml file of the project
> <Xap Filename> - Specifies the full path of Xap to be installed/updated.
> </targetdevice[:param]> - Specifies the target device (one of the following)
> xd - default emulator
> de - Windows Phone device connected to the desktop
> n - device listed at index n. To get the list of devices
> use the following command
> "XapDeployCmd.exe /EnumerateDevices"
> Examples: (assuming product id is f8ce6878-0aeb-497f-bcf4-65be961d4bba and
> XapFilePath is D:\PhoneApp1.xap)
> XapDeployCmd.exe /installlaunch D:\PhoneApp1.xap /targetdevice:xd
> - installs PhoneApp1 on the default emulator and then launches it
> XapDeployCmd.exe /launch f8ce6878-0aeb-497f-bcf4-65be961d4bba
> /targetdevice:de
> - launches the app with specified product id on the device
> XapDeployCmd.exe /update D:\PhoneApp1.xap /targetdevice:2
> - updates PhoneApp1 already installed on the device
> specified by device index 2. To get the list of valid indices use
> the EnumerateDevices command
> XapDeployCmd.exe /uninstall f8ce6878-0aeb-497f-bcf4-65be961d4bba
> /targetdevice:xd
> - uninstalls the app with specified product id from the default emulator
> XapDeployCmd.exe /EnumerateDevices
> - enumerates the list of valid device targets along with their
> corresponding device index
> ERROR: Error code -2147024809 for command: C:\Program Files (x86)\Microsoft
> SDKs\Windows Phone\v8.0\Tools\Xap Deployment\XapDeployCmd.exe with args:
> /installlau
> nch,d:/eu.fairmanager.mobile/platforms/wp8/Bin/debug/CordovaAppProj_Debug_AnyCPU.xap,/targetdevice:de
> {code}
> The project deploys fine to the device when using Visual Studio.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]