Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Flutter app running in Chrome gets stuck on Performing Hot Restart on latest stable, but works on latest master #77818

Closed
Labels
found in release: 2.0Found to occur in 2.0has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.
@JimTacobs

Description

@JimTacobs

Related to#67194 and#71560.

This has been happening for 2 days now. I'm running my app in Chrome and can only change things within the main.dart file. Anything outside of it, the process gets stuck on 'Waiting for connection from debug service on Chrome...', having to manually refresh my chrome page to see any updated I've made. I've tried all solutions that are suggested in even somewhat related issues, nothing works.

Flutter versionFlutter 2.0.1 • channel stable • https://github.com/flutter/flutter.gitFramework • revisionc5a4b40 (6 days ago) • 2021-03-04 09:47:48 -0800Engine • revision40441deTools • Dart 2.12.0
Android studio versionAndroid Studio 4.1.2Build #AI-201.8743.12.41.7042882, built on December 20, 2020Runtime version: 1.8.0_242-release-1644-b3-6915495 x86_64VM: OpenJDK 64-Bit Server VM by JetBrains s.r.omacOS 10.15.7GC: ParNew, ConcurrentMarkSweepMemory: 1979MCores: 12Registry: ide.new.welcome.screen.force=true, external.system.auto.import.disabled=trueNon-Bundled Plugins: String Manipulation, com.intellij.marketplace, Dart, io.flutter
Run console (third line only appears once I manually refresh the page)Performing hot restart...Waiting for connection from debug service on Chrome...Restarted application in 627,526ms.
flutter doctor -v[✓] Flutter (Channel stable, 2.0.1, on Mac OS X 10.15.7 19H524 darwin-x64, locale en-NL) • Flutter version 2.0.1 at /Users/timjacobs/flutter • Framework revisionc5a4b40 (6 days ago), 2021-03-04 09:47:48 -0800 • Engine revision40441de • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/timjacobs/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Users/timjacobs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.4, Build version 12D4e
• CocoaPods version 1.10.1

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• 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 1.8.0_202-release-1483-b49-5587405)

[✓] Android Studio (version 4.1)
• Android Studio at /Users/timjacobs/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/201.7042882/Android Studio.app/Contents
• 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 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.54.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.20.0

[✓] Connected device (2 available)
• iPhone 12 Pro (mobile) • BECFDABA-BABD-4B9C-B54E-5E765A49709F • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-4 (simulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.82

• No issues found!

Reproducable stepsWhile I haven't managed to reproduce this in a minimal code example, I do have a small repository with which this is easily reproduced (at least for me) https://github.com/TimJacobus/cijfers_enzo

To reproduce, clone and run the app (debug or no debug, doesn't matter) and first change the text inside the Scaffold inmain.dart, you'll notice it hot reloads immediately after saving. Now openhello.dart (lib/shared/widgets) and change the text of the ElevatedButton. At this point I get completely stuck waiting for the hot reload, having to refresh the webpage to continue working.

I've tried changing the routing, removing riverpod, hooks, and font_awesome. All didn't make any difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    found in release: 2.0Found to occur in 2.0has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: fixedIssue is closed as already fixed in a newer versiontoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp