本文介绍了使用Windows 10移动版1709的Lumia 550上的[UWP]应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我有一个基于WebView的UWP应用程序,它将从互联网上下载zip文件,并将文件解压缩到应用程序的LocalState文件夹中,然后在webview中打开这些文件(javascript,css,html和资源文件),全部资源将由本地Web服务器处理。 它在桌面上运行良好,但在打开和关闭本地网页几次后会在Lumia 550上崩溃。崩溃几次后,它根本无法启动,会在应用程序的启动画面上崩溃。然后我根本无法启动这个应用程序,甚至卸载 - > 重启设备 - >安装应用程序。让它再次运行的唯一方法是硬重置设备,然后再玩几次然后再次崩溃,并且在几次崩溃后无法启动应用程序。 Lumia 550更新为最新的Windows 10 Mobile 1709,Visual Studio pro 2017更新到最新版本15.4.4。我无法通过设备门户页面获取崩溃转储。 由于此设备只有1GB RAM,如果在调试模式下运行应用程序有一些c ++内存分配异常,所以我找不到导致这些崩溃的原因。 我把这个应用程序放到HockeyApp,而HockeyApp没有显示此应用程序的任何崩溃。  请帮忙。解决方案 I have a WebView based UWP app, which will download zip files from internet, and unzip files into app's LocalState folder, then open these files (javascript, css, html, and resource file) in webview, all resource will be handled by local web server.It runs well on desktop, but will crash on Lumia 550 after open and close this local web pages several times. After crash several times, it will not start at all, will crash on app's splashscreen. Then I could not launch this app at all, even uninstall -> restart device -> install app. The only way to make it running again is hard reset the device, then play with it several times then crash again, and could not launch app after several crashes.The Lumia 550 is updated to the latest Windows 10 Mobile 1709, Visual Studio pro 2017 is updated to the latest version 15.4.4. I could not get the crash dumps via device portal page.Since this device has only 1GB RAM, if run the app in debug mode there are some c++ memory allocation exceptions, so I could not find what cause these crashes.I put this app to HockeyApp, and HockeyApp did not show any crash for this app. Please help. 解决方案 这篇关于使用Windows 10移动版1709的Lumia 550上的[UWP]应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-23 19:04