You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/01/22 12:02:36 UTC

[jira] [Commented] (CB-8060) Unable to deploy to Windows Phone 8 device

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

ASF subversion and git services commented on CB-8060:
-----------------------------------------------------

Commit 86cbcd9126e027b8ae660f2da5494b6a5c8f7a8a in cordova-wp8's branch refs/heads/master from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=86cbcd9 ]

CB-8060 AppDeployCmd lookup: prefer original WP8.0 tools


> 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org