cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayan Dey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-13155) Running windows app through cordova CLI in an emulator produces error
Date Mon, 07 Aug 2017 14:04:00 GMT
Ayan Dey created CB-13155:
-----------------------------

             Summary: 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
         Environment: *OS:* Windows 10
*Ver:* 1703
*Build:* 15063.413
*Processor:* i3
*Cordova Version:* 7.0.1
*Cordova-windows:* 5.0.0
            Reporter: Ayan Dey


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


Mime
View raw message