bitsdojo_window
bitsdojo_window copied to clipboard
Crashed on Windows 11
Windows Version: 22621.963
My App crashes when I run it on Windows 11 with the error:
Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
Error launching application on Windows.
This does not happen on Windows 10. When I remove the added lines in /windows/runner/main.cpp
the App works (but of course, without this package). When I execute the compiled .exe
of my App, It works fine on Windows 10 but instantly closes on Windows 11.
With "the added lines" I mean the 2 lines required for the package. This happens on every Windows 11 PC I own. I even tried reinstalling Windows but that didn't help either. You can find my repo with the problem here.
Happening to me as well. Probably an issue with Windows 11
Ok, after many hours debugging I figured it out. First, create a new Flutter project and see if it works in the new project. If it does, the the issue is within your project. I cleared the cache flutter clean
, deleted the windows model and created a new one flutter create -platform=windows .
but nothing worked. I then copied the pubspec.yaml from the new project into the one that was not working, saved it so flutter could run the new pubspec.yaml code. I then returned back to the old pubspec.yaml and it worked =]
Happening to me as well. Probably an issue with Windows 11
bitsdojo_window: ^0.1.5
With "the added lines" I mean the 2 lines required for the package. This happens on every Windows 11 PC I own. I even tried reinstalling Windows but that didn't help either. You can find my repo with the problem here.
Cloned your repo and tried running the app. Seems like there is a crash related to the flutter_acrylic
package. Removing these lines related to the flutter_acrylic
package made the app run without any error.
await Window.setEffect(
effect: WindowEffect.transparent,
color: darkMode! ? const Color(0xCC222222) : const Color(0xCCDDDDDD),
)
Happening to me as well. Probably an issue with Windows 11
bitsdojo_window: ^0.1.5
Tried it on my Windows 11 machine but everything ran ok. Do you have a sample repo that I could try?
OS information: 版本 Windows 11 家庭中文版 (Chinese Home) 版本 21H2 安装日期 2022/8/6 操作系统版本 22000.1936 体验 Windows 功能体验包 1000.22001.1000.0