我开发了一个 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/