ionic2 - 在 Windows Phone 10 上运行 Ionic 2 应用程序

标签 ionic2 uwp windows-phone windows-10-universal ionic3

我开发了一个 Ionic 2 应用程序,但找不到在连接到我的电脑的 Windows Phone 10 设备上运行它的方法。我怎样才能让它运行?

谢谢

最佳答案

您尝试过 this :

To build apps for Windows Universal, download and install Visual Studio 2015 Community Edition. During the installation, Select “Tools for Cross Platform Development” as well as the SDK for Windows Universal Apps.

With everything installed, you’ll be able to add a windows platform from the command line with this command:

ionic platform add windows

By default the build command produces two packages: Windows 8.1 and Windows Phone 8.1, which Ionic does not support. To upgrade Windows package to version 10 the following configuration setting must be added to configuration file (config.xml).

<preference name="windows-target-version" value="10.0" />

关于ionic2 - 在 Windows Phone 10 上运行 Ionic 2 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38452990/

相关文章:

angular - 键盘显示时 Ionic 2 Form 上升

c# - UWP:替换数据绑定(bind)

c# - 在 XAML 中的 View 中绑定(bind)多个 ViewModel

html - 如何将 html 元素放置在新生成的元素之外

javascript - Ionic2 禁用标签元素上的 300 毫秒延迟

mvvm - UWP 属性在用户控件的依赖属性中更改

c# - CSS: position:fixed 不适用于 Windows Phone

windows-phone - 如何使用 .NET 代码从 Windows Phone Marketplace 获取我的应用程序的深层链接?

javascript - ionic 收集重复不起作用

c# - 如何从 winform 启动 Windows 通用应用程序