Phonegap从Mac OSX为Windows Mobile创建版本

时间:2016-09-20 13:03:42

标签: windows cordova build msbuild phonegap-cli

我正在使用PhoneGap应用。

我完成了iOS&我的应用程序的Android平台。

我确实使用过XCode& Android Studio for create build for。

但我正在努力使用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平台上通过远程创建构建。

请帮我解决。

1 个答案:

答案 0 :(得分:1)

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