You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Alexander Sorokin (JIRA)" <ji...@apache.org> on 2017/08/15 11:02:00 UTC

[jira] [Updated] (CB-13155) Running windows app through cordova CLI in an emulator produces error

     [ https://issues.apache.org/jira/browse/CB-13155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Sorokin updated CB-13155:
-----------------------------------
    Component/s: cordova-windows

> Running windows app through cordova CLI in an emulator produces error
> ---------------------------------------------------------------------
>
>                 Key: CB-13155
>                 URL: https://issues.apache.org/jira/browse/CB-13155
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>    Affects Versions: Master
>         Environment: *OS:* Windows 10
> *Ver:* 1703
> *Build:* 15063.413
> *Processor:* i3
> *Cordova Version:* 7.0.1
> *Cordova-windows:* 5.0.0
>            Reporter: Ayan Dey
>            Assignee: Alexander Sorokin
>              Labels: triaged
>
> I am trying to run a windows app on an emulator using the command given in the docs but it gives out errors.
> **Command:** `cordova run windows --target="Mobile Emulator 10.0.14393.0 720P 5 inch 1GB" -- --appx=8.1-phone`
> **Result:** `Error: Specified device not found`
> **Command:** `cordova run windows --target=4 -- --appx=8.1-phone`
> **Result:** _The emulator runs_
> **Command:** `cordova run windows --target="Mobile Emulator 10.0.14393.0 720P 5 inch 1GB" -- --appx=uap`
> **Result:** `Error: Deploying desktop apps to specific target not supported`
> **Command:** `cordova run windows --target=4 -- --appx=uap`
> **Result:** `Error: Deploying desktop apps to specific target not supported`
> **Command:** `cordova run windows --target=4 -- --appx=uap --emulator`
> **Result:** `Error: Deploying desktop apps to specific target not supported`
> **Command:** `cordova run windows --target=4 -- --appx=uap --archs="arm"`
> **Result:** `Error: Deploying desktop apps to specific target not supported`
> *CONFIG.XML*
> <?xml version='1.0' encoding='utf-8'?>
> <widget id="com.crosby.controller" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
>     <name>Crosby</name>
>     <description>
>         A remote controller for Crosby room cleaning bot
>     </description>
>     <author email="ayand04@gmail.com" href="http://ayandey.com">
>         Ayan Dey
>     </author>
>     <content src="index.html" />
>     <access origin="*" />
>     <allow-intent href="http://*/*" />
>     <allow-intent href="https://*/*" />
>     <allow-intent href="tel:*" />
>     <allow-intent href="sms:*" />
>     <allow-intent href="mailto:*" />
>     <allow-intent href="geo:*" />
>     <preference name="Orientation" value="landscape" />
>     <platform name="android">
>         <allow-intent href="market:*" />
>     </platform>
>     <platform name="windows">
>         <preference name="windows-target-version" value="10.0" />
>     </platform>
>     <engine name="windows" spec="^5.0.0" />
> </widget>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org