我尝试使用此solution打开网页,可以通过更改以下内容来开启Cordova Windows应用程序:
<content src="index.html" />
与
<content src="http://http://192.168.8.33:8080/war/index.htm" />
但由于某种原因,我在编译中遇到了这个大错误:
Platform : anycpu
C:\windowsProject\test1\platforms\windows\build\windows80\debug\anycpu\AppxMani
fest.xml(24,41): error APPX1404: File content does not conform to specified sch
ema. The 'StartPage' attribute is invalid - The value 'www/http://192.168.8.33:
8080/war/index.html' is invalid according to its datatype 'http://schema
s.microsoft.com/appx/2010/manifest:ST_FileName' - The Pattern constraint failed
. [C:\windowsProject\test1\platforms\windows\CordovaApp.Windows80.jsproj]
我使用Cordova 4.3.0而我的目标平台是Windows