After building the app I get an error when I try to run it:
Launching lib\main.dart on Windows in debug mode...
Building Windows application...
Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
Error launching application on Windows.
If I remove the two lines for bitsdojo from the beginning of windows/runner/main.cpp the app is working (of course it adds the system title bar).
The lines:
#include <bitsdojo_window_windows/bitsdojo_window_plugin.h>
auto bdw = bitsdojo_window_configure(BDW_CUSTOM_FRAME | BDW_HIDE_ON_STARTUP);
Until I realized the issue is caused by bitsdojo I tried reinstalling Visual Studio (2019/2022) and various Windows SDKs (for win 10 and 11). No matter what I tried, the app still cannot start on Windows 11.
But if I build it on Windows 11 and I run it on Windows 10 the app starts and works ok. So I conclude that it's only a runtime issue on my build of Windows 11.
Windows 11 version: 22H2 OS build: 22598.100
After building the app I get an error when I try to run it:
If I remove the two lines for bitsdojo from the beginning of
windows/runner/main.cpp
the app is working (of course it adds the system title bar).The lines:
Until I realized the issue is caused by bitsdojo I tried reinstalling Visual Studio (2019/2022) and various Windows SDKs (for win 10 and 11). No matter what I tried, the app still cannot start on Windows 11.
But if I build it on Windows 11 and I run it on Windows 10 the app starts and works ok. So I conclude that it's only a runtime issue on my build of Windows 11.