windows - Phonegap 从 Mac OSX 为 Windows Mobile 创建构建

标签 windows cordova build msbuild phonegap-cli

我正在开发 PhoneGap 应用程序。

我的应用已完成 iOS 和 Android 平台。

我确实使用 XCode 和 Android Studio 为两者创建构建。

但我正在努力使用 Windows 平台来为 Windows 创建应用程序。

我已经通过终端尝试了以下操作:

phonegap platform remove windows
phonegap local build windows
[warning] The command `phonegap local <command>` has been DEPRECATED.
[warning] The command has been delegated to `phonegap <command>`.
[warning] The command `phonegap local <command>` will soon be removed.
[phonegap] executing 'cordova platform add --save windows' ...
[phonegap] completed 'cordova platform add --save windows'
[phonegap] executing 'cordova build windows ' ...
The following navigation rule had an invalid URI scheme and is ignored: "*".


Error: No valid MSBuild was detected for the selected target.


phonegap remote build windows
[phonegap] compressing the app...
[phonegap] uploading the app...
   [error] {"error":"app 2270357 not found"}
   [error]

因此,我无法在本地或通过远程为 Windows 平台创建构建。

请帮助我。

最佳答案

我尝试了许多不同的方法来构建 Windows 平台并对其进行故障排除(在 osx 环境中)。 结果是需要有 Windows 机器和 Visual Studio。
请引用此页面, http://cordova.apache.org/docs/en/latest/guide/platforms/win8/index.html

关于windows - Phonegap 从 Mac OSX 为 Windows Mobile 创建构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39594896/

相关文章:

sql-server - Postgresql的独立实例是否可能

windows - 更改 eclipse 创建 .eclipse、.p2 和其他文件夹的位置

c++ - 为什么 Arduino Micro(USB 设备)的供应商 ID 和产品 ID 在 Linux 和 Windows 中不同?

android - ExecutorService 的工作线程之间的同步

android - 使用 zxing 时找不到类

c++ - 我如何将其编译成可执行文件

build - 如何从 Jenkins 的另一份工作中提升特定的内部版本号?

c# - 从 Webdings 字体创建系统托盘图标

android - Phonegap 新版本适合 iOS 应用程序开发中的数据库位置

android - 在 cordova/phonegap 应用程序中设置横向 View 的问题