与商店关联后,UWP应用程序崩溃 [英] UWP app crashes after associating with the store

查看:70
本文介绍了与商店关联后,UWP应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Windows创建一个cordova应用程序. 将应用程序与商店关联后,应用程序开始页面变为白色空白. 如果该应用使用包标识名称com.something.moretext,则该应用可以正常运行 但是我的商店包裹标识名称是58661Something.MoreText

I'm creating a cordova app for Windows. After associating the app with the store the application start page goes white blank. The app works fine if it uses the package identity name com.something.moretext but my store package identity name is 58661Something.MoreText

Windows存储包标识名称以数字开头,因此如果我在config.xml中手动更改widget-id并重建它,则会出现模式不匹配的错误.

the windows store package identity name starts with numbers so i get error of unmatched pattern if i change widget-id manually in config.xml and rebuild it.

如果我只是在Visual Studio中更改而不运行命令(cordova构建窗口),则不会出现任何错误,但该应用程序仍然是空白的白屏. 请建议

If i just change in the visual studio without running the command (cordova build windows) i get no error but the application still comes as blank white screen. Please suggest

[屏幕截图] [1] [1]: https://i.stack.imgur .com/ly213.png

[Screenshot][1][1]: https://i.stack.imgur.com/ly213.png

推荐答案

我能够通过更改清单中与包标识名称相同的Applications StartPage值来解决此问题. 例如,我更改了StartPage ="ms-appx-web://com.something.moretext/www/index.html" 到StartPage ="ms-appx-web://58661something1.moretext1/www/index.html"

i was able to solve this problem by changing the Applications StartPage value in manifest same as the package identity name . for e.g i changed StartPage="ms-appx-web://com.something.moretext/www/index.html" to StartPage="ms-appx-web://58661something1.moretext1/www/index.html"

这篇关于与商店关联后,UWP应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆