hillel
August 29, 2022, 5:19pm
22
Thanks everyone for reporting the problem! We believe it may be related to this issue:
opened 09:13PM - 13 Aug 22 UTC
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:
> [β] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.22621.382], locale en-US)
β’ Flutter version 3.0.5 at C:\Flutter\Flutter
β’ Upstream repository https://github.com/flutter/flutter.git
β’ Framework revision f1875d570e (4 weeks ago), 2022-07-13 11:24:16 -0700
β’ Engine revision e85ea0e79c
β’ Dart version 2.17.6
β’ DevTools version 2.12.2
> [β] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
β’ Android SDK at C:\Users\Alifa\AppData\Local\Android\sdk
β’ Platform android-33, build-tools 33.0.0
β’ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
β’ Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
β’ All Android licenses accepted.
> [β] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
> [β] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.0)
β’ Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
β’ Visual Studio Community 2022 version 17.3.32804.467
β’ Windows 10 SDK version 10.0.22621.0
> [β] Android Studio (version 2021.2)
β’ Android Studio at C:\Program Files\Android\Android Studio
β’ Flutter plugin can be installed from:
π¨ https://plugins.jetbrains.com/plugin/9212-flutter
β’ Dart plugin can be installed from:
π¨ https://plugins.jetbrains.com/plugin/6351-dart
β’ Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
> [β] VS Code (version 1.70.1)
β’ VS Code at C:\Users\Alifa\AppData\Local\Programs\Microsoft VS Code
β’ Flutter extension version 3.46.0
> [β] Connected device (2 available)
β’ Windows (desktop) β’ windows β’ windows-x64 β’ Microsoft Windows [Version 10.0.22621.382]
β’ Edge (web) β’ edge β’ web-javascript β’ Microsoft Edge 104.0.1293.54
> [β] HTTP Host Availability
β’ All required HTTP hosts are available
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! ππ»
Weβre working on a new version of the app (v5.0.92) which disables this package to see if it helps. Note: in this version the app title bar will no longer use the theme color.
The new version should be available in the Microsoft store within the next 24 hours, please let us know if it helps or not.
hillel
August 30, 2022, 2:32pm
23
@charles if youβre able to test the new release it would be very helpful to know if the issue is resolved.
Thanks!
Hello @hillel ,
I downloaded the updated app in the Windows Store and it finally loads under Windows 11 22H2!
Thanks a lot!
N.B.: The title bar is indeed no longer following the OS theme at this time.
hillel
August 31, 2022, 5:16am
25
Awesome, glad to hear it.
Thanks for letting us know!
1 Like