question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Analysis shows errors but there are none, hot reload fails

See original GitHub issue

Since today the my analyser in AndroidStudio started showing: “Hot reload failed. Analysis issues”.

Clicking “View Issues” shows no issues, only hints. If I build the app it builds and it also works on hot restart but not hot reload.

Steps to Reproduce

Dont know

Version info

[√] Flutter (Channel master, 1.21.0-7.0.pre, on Microsoft Windows [Version 10.0.18363.1016], locale en-DE)
    • Flutter version 1.21.0-7.0.pre at D:\dev\flutter\sdk
    • Framework revision 7ec2d360bc (3 weeks ago), 2020-07-29 23:25:38 -0700
    • Engine revision a9910e409c
    • Dart version 2.10.0 (build 2.10.0-1.0.dev 24c7666def)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at C:\Users\Marvin\AppData\Local\Android\sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 48.1.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

13reactions
Zarainiacommented, Aug 20, 2021

I also have this issue, specifically in some files in my project. However, pressing save on other files in the same project works…

3reactions
crtlcommented, Sep 9, 2020

@stevemessick I have upgrade flutter multiple times in the lifetime of this bug and switched branches.

Sry I have not many details because there is no reliable method to reproduce it. Thats an issue for itself. Where can I find logs of dart analysis or any information? Are there even any?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter's Hot Reload stopped working after updating to Android ...
It just showed a bubble saying reload not performed analysis issues found , but when going there, only warnings appeared. Zero errors. Tried...
Read more >
Hot reload - Flutter documentation
Hot reload loads code changes into the VM and re-builds the widget tree, preserving the app state; it doesn't rerun main() or initState()...
Read more >
Troubleshooting XAML Hot Reload - Visual Studio (Windows)
Verify that your XAML file has no errors​​ If your XAML file shows errors in the Error List, then XAML Hot Reload may...
Read more >
[original title] Live Code Analysis Slow => changed to more ...
FYI I seem to have error squiggles still show up for 1-2 minutes after a rebuild. Even closing and reloading the project and...
Read more >
File and project analysis | IntelliJ IDEA Documentation
It also automatically checks your entire project for errors. Additionally, you can run an inspection or a group of inspections in the selected ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found