科尔多瓦Windows应用启动时崩溃,没有错误

时间:2018-09-14 10:46:59

标签: windows visual-studio cordova cordova-windows

我正在开发基于Cordova的应用程序,该应用程序需要支持Windows。我正在Visual Studio 2017中使用Cordova 8.0.0和Cordova-Windows 6.0.0。

在Visual Studio中构建应用程序并在 Local Machine 上运行时,如果使用 debug 配置,则该应用程序将成功启动(如果使用 release配置) 它只是崩溃了,几乎没有控制台可以继续:

'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WWAHost.exe'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Unloaded 'C:\Windows\System32\sechost.dll'
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WinTypes.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
The thread 0x5948 has exited with code 0 (0x0).
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WwaExt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\edgehtml.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\mlang.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Chakra.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\rmclient.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\srpapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.appcore.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\fltLib.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\urlmon.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\MrmCoreR.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
onecoreuap\base\mrt\runtime\com\winrt\core\lib\winrtresourcemanager.cpp(893)\MrmCoreR.dll!00007FFA1B5C90C8: (caller: 00007FFA1B5C8D67) ReturnHr(1) tid(1904) 80070015 The device is not ready.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\TextInputFramework.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\InputHost.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\CoreUIComponents.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Unloaded 'C:\Windows\System32\CoreUIComponents.dll'
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\CoreMessaging.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Unloaded 'C:\Windows\System32\CoreMessaging.dll'
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\OneCoreUAPCommonProxyStub.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\BCP47mrm.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
onecoreuap\base\mrt\runtime\com\winrt\core\lib\contextmanager.cpp(237)\MrmCoreR.dll!00007FFA1B5E1A1A: (caller: 00007FFA1B5E101D) ReturnHr(2) tid(1904) 80070490 Element not found.
'WWAHost.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\UiaManager.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.UI.Core.TextInput.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Graphics.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\sspicli.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ninput.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Internal.SecurityMitigationsBroker.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\imagehlp.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\userenv.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\d3d11.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\ki124455.inf_amd64_0f9ddfab4df0266d\igd10iumd64.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ncrypt.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\ntasn1.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\ki124455.inf_amd64_0f9ddfab4df0266d\igc64.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\edgeIso.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\msimtf.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\directmanipulation.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\profext.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\dcomp.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\twinapi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\BCP47Langs.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Windows\System32\WwaApi.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
'WWAHost.exe' (Win32): Loaded 'C:\Program Files\Common Files\microsoft shared\VS7Debug\pdm.dll'. Skipped loading symbols. Module is native, and native debugging is currently disabled.
The thread 0x5978 has exited with code 0 (0x0).
The thread 0x1200 has exited with code 0 (0x0).
The thread 0x5344 has exited with code 0 (0x0).
The thread 0x1904 has exited with code 0 (0x0).
The thread 0xfb4 has exited with code 0 (0x0).
The thread 0x3ecc has exited with code 0 (0x0).
The thread 0x5148 has exited with code 0 (0x0).
The thread 0x5acc has exited with code 0 (0x0).
The thread 0x5668 has exited with code 0 (0x0).
The thread 0x4b70 has exited with code 0 (0x0).
The thread 0x4664 has exited with code 0 (0x0).
The thread 0x4c38 has exited with code 0 (0x0).
The thread 0x4578 has exited with code 0 (0x0).
The thread 0x6b4 has exited with code 0 (0x0).
The thread 0x5b90 has exited with code 0 (0x0).
The thread 0x3018 has exited with code 0 (0x0).
The thread 0x598c has exited with code 0 (0x0).
The thread 0x59fc has exited with code 0 (0x0).
The thread 0x5930 has exited with code 0 (0x0).
The thread 0x28dc has exited with code 0 (0x0).
The thread 0x53a8 has exited with code 0 (0x0).
The program '[13104] WWAHost.exe' has exited with code 0 (0x0).

在调试中运行时,我确实看到此错误:

APPHOST9603: Can’t load the ActiveX plug-in that has the class ID '{D27CDB6E-AE6D-11CF-96B8-444553540000}'.  Apps can't load ActiveX controls.
index.html

我不了解,因为我没有使用任何ActiveX控件。但是,这不会阻止该应用程序正常运行,因此我一直忽略它。我不确定这样的错误是否会在使用 release 配置运行时导致应用程序崩溃。

我已经能够在构建默认的cordova项目以及我自己的应用程序时重现同样的问题。

更有趣的是,该应用在发行版中崩溃后,如果我打开开始菜单并自行启动(例如,运行安装的Visual Studio版本,但在Visual Studio外部启动)它工作正常。但是,当我为商店打包并启动该版本时,它又立即崩溃。

0 个答案:

没有答案
相关问题