![](/img/trans.png)
[英]debug a app with nativescrip and Google Chrome, not find app.js
[英]Debug UWP Windows App on Google Chrome
我有一个UWP Javascript应用程序。 我在我的应用程序内部使用Windows运行时API (例如: Windows.Graphics.Display.DisplayInformation.getForCurrentView() )。
我可以使用Visual Studio 2015成功运行该应用程序。
但是,如果我在Google Chrome中加载应用程序,则会收到“ ReferenceError:未定义Windows” 。
有什么方法可以访问Google Chrome上的“ Windows运行时API” ,也可以通过其他任何方法来模拟/绕过“ Windows”对象相关的错误。
任何帮助表示赞赏。 提前致谢。
不会。谷歌浏览器不会让网站直接访问Windows UWP API,也永远不会。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.