jnschulze / flutter-webview-windows

A WebView2-powered Flutter WebView implementation for the Windows platform.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows application was crashed. Webview not initializing in windows 11 pro.

Anish-T-GitHub opened this issue · comments

I installed webview2 runtime this webview working in some systems but mostly application was crashed when webview controller initializing time.

OS version - Windows 11 pro
Flutter version - 3.22.2
Dart version - 3.4.3

yes i am also facing same issue,
For me debug mode its fine ,but after build with msix its crasghing on opening webview page

@jnschulze its crashing on windows11 ,please check it ASAP

I had that issue too last week, but it was unrelated to my dependencies. Kindly check if your generated output directory contains the necessary Visual C++ Redistributable files as listed here

I am building application using msix package,so there's no need to check those files whether they are present.

Error find from Event Viewer

Faulting module name: MSVCP140.dll, version: 14.26.28804.1, time stamp: 0x5e9b29e5
Exception code: 0xc0000005

@venky9885 I fixed this issue

Please refer this link for issue fix - https://answers.microsoft.com/en-us/windows/forum/all/msvcp140dll-error/b0eaa485-159c-4d66-b12d-ae0e197782e5

need install x64 & x86 redistributables.

then restart you pc.

it works.

Hi

In my case, I had to downgrade Visual Studio Community 2022 version from 17.10.3 to 17.7.5 to make it work.

Hi

In my case, I had to downgrade Visual Studio Community 2022 version from 17.10.3 to 17.7.5 to make it work.

Okay @Alvaro1dev How to downgrade visual studio community 17.7.5.

If I downgrade flutter run doesn't work,so we have to downgrade both flutter and vsiuval studio,I don't want to do

Hi

In my case, I had to downgrade Visual Studio Community 2022 version from 17.10.3 to 17.7.5 to make it work.

@venky9885 how to downgrade 17.7.5. i searched the download link but i can't find any link. please help me

Open visuval studio installer then select modify and downgrade it

If I downgrade flutter run doesn't work,so we have to downgrade both flutter and vsiuval studio,I don't want to do

Hi
In my case, I had to downgrade Visual Studio Community 2022 version from 17.10.3 to 17.7.5 to make it work.

Yes @venky9885 i downgrade visual studio to 17.7.5 it's working for me and build was getting successfully without any issues. I used latest flutter version i didn't getting any errors. Thank You @Alvaro1dev.

Flutter Framework Details

OS version - Windows 11 pro
Flutter version - 3.22.2
Dart version - 3.4.3

Don`t close this we need perfect solution in new versions of software
Flutter latest version as well visuval studio communtity