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

Alexander Sorokin updated CB-13155:
-----------------------------------
    Labels: triaged  (was: )

> 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="ayan...@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-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to