Closed Ali-Fadaei closed 2 years ago
Do you have a test repository that I can clone and test on my machine?
I can reproduce this as well
After some testing it appears to be an issue within the handle_nccalcsize function in bitsdojo_window.cpp commenting out the code here allows it to run.
seems that the issue is already fixed: https://github.com/bitsdojo/bitsdojo_window/blob/master/bitsdojo_window_windows/windows/bitsdojo_window.cpp#L284
This if which wasn't in the version we were using fixes it
I will close this now. Feel free to reopen if you encounter any issues.
I installed windows 11 22H2 preRelease (Build 22621.382) I realized my flutter apps doesn't run after add bitsdojo_window_plugin.h to main.cpp
here my flutter doctor -v:
after run
flutter run -d windows -v
it completes building successfully but can't run app, after 1-2 minutes here's the error:[ +32 ms] Building Windows application... (completed in 108.8s)
[+11229 ms] Error waiting for a debug connection: The log reader stopped unexpectedly, or never started.
[ +1 ms] Error launching application on Windows.
[ +3 ms] "flutter run" took 121,933ms.
[ +6 ms]
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:699:9)
<asynchronous suspension>
#2 FlutterCommand.run.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command.dart:1183:27)
<asynchronous suspension>
#3 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#4 CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#5 FlutterCommandRunner.runCommand.<anonymous closure>
(package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#6 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#7 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#8 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#9 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#10 main (package:flutter_tools/executable.dart:94:3)
<asynchronous suspension>
[ +254 ms] ensureAnalyticsSent: 252ms
[ +4 ms] Running shutdown hooks
[ +2 ms] Shutdown hooks complete
[ +2 ms] exiting with code 1
seems can't run any flutter app (debug/release) developed with bitsdojo in windows 11 22H2. Please Help! 🙏🏻