UWP App在Windows Phone上崩溃 [英] UWP App Crashes on Windows Phone

查看:111
本文介绍了UWP App在Windows Phone上崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个UWP应用程序,总是在Windows手机上崩溃。 使用X64和X86在桌面上运行时,该应用程序运行正常。 该应用程序实际上只是一组DLL的包装(4个用C#编写,2个用C ++编写)。 这是应用程序中UI
的范围:


< Grid Background =" {ThemeResource ApplicationPageBackgroundThemeBrush}">

  ; &NBSP; &NBSP; &NBSP; < ScrollViewer>

  &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; < TextBlock x:Name =" Text1" Grid.Row =" 0" />

  &NBSP; &NBSP; &NBSP; < / ScrollViewer>

< / Grid>


当我在Windows设备上运行应用程序时出现此错误:




UWPArmDebugDeviceRemoteTestClient.exe中0x699E5D25(Windows.UI.Xaml.dll)的未处理异常:0xC000027B:发生了应用程序内部异常(参数: 0x07332C28,0x00000002)。发生了这个是视觉工作室的堆栈跟踪:


KernelBase.dll!7716d6c0() 未知

combase.dll!76ed93e0() 未知


Windows.UI.Xaml.dll!699e5d24() 未知

Windows.UI.Xaml.dll!699e59da( ) 未知

Windows.UI.Xaml.dll!699e584c() 未知

twinapi.appcore.dll!751fa510() 未知

twinapi.appcore。 dll!751fa552() 未知

twinapi.appcore.dll!751f0080() 未知

twinapi.appcore.dll!751ef9f2() 未知

twinapi。 appcore.dll!751f6514() 未知

twinapi.appcore.dll!751f6596() Unknown

combase.dll!76ed8eba() 未知

combase.dll!76ed99a8() 未知

System.Private.CoreLib.ni.dll!651f7444() 未知

System.Private.CoreLib.ni.dll!651c7dce() 未知

System.Private.CoreLib.ni.dll!651c7eb0() 未知

[外部代码]


尝试调用C#Object的构造函数时会发生这种情况,而C#Object又调用C ++对象的构造函数&NBSP;这个错误是什么意思,我该怎么去调试呢?


谢谢,


Matt






解决方案

dll是否为arm编译?  Windows手机不是x86或x64


Hi,

I have a UWP app that always crashes on a windows phone.  The app works fine when run on desktop using X64 and X86.  The app is really just a wrapper around a set of DLLs (4 written in C#, two in C++).  This is the extent of the UI in the application:

<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <ScrollViewer>
            <TextBlock x:Name="Text1" Grid.Row="0"/>
        </ScrollViewer>
</Grid>

When I run the app on the windows device I get this error:

Unhandled exception at 0x699E5D25 (Windows.UI.Xaml.dll) in UWPArmDebugDeviceRemoteTestClient.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x07332C28, 0x00000002). occurred

This is the stack trace from visual studio:

KernelBase.dll!7716d6c0() Unknown
combase.dll!76ed93e0() Unknown
Windows.UI.Xaml.dll!699e5d24() Unknown
Windows.UI.Xaml.dll!699e59da() Unknown
Windows.UI.Xaml.dll!699e584c() Unknown
twinapi.appcore.dll!751fa510() Unknown
twinapi.appcore.dll!751fa552() Unknown
twinapi.appcore.dll!751f0080() Unknown
twinapi.appcore.dll!751ef9f2() Unknown
twinapi.appcore.dll!751f6514() Unknown
twinapi.appcore.dll!751f6596() Unknown
combase.dll!76ed8eba() Unknown
combase.dll!76ed99a8() Unknown
System.Private.CoreLib.ni.dll!651f7444() Unknown
System.Private.CoreLib.ni.dll!651c7dce() Unknown
System.Private.CoreLib.ni.dll!651c7eb0() Unknown
[External Code]

This happens when trying to call the constructor of a C# Object which in turn calls the constructor of a C++ object.  What does this error mean and how do I go about debugging it?

Thanks,

Matt


解决方案

Are the dlls compiled for arm?  Windows phone is not x86 or x64


这篇关于UWP App在Windows Phone上崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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