我正在开发 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/