Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Master
-
None
-
OS: Windows 10
Ver: 1703
Build: 15063.413
Processor: i3
Cordova Version: 7.0.1
Cordova-windows: 5.0.0
Description
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>
Attachments
Issue Links
- links to