Open HiroyukiTamura opened 3 years ago
It looks like the Flutter plugin was being initialized before its dependent, Dart, was fully initialized.
@alexander-doroshko Other than dependencies, is there another way to order plugin initialization?
@HiroyukiTamura Does it happen each time you start the IDE? If not, do you think it could be related to the Dart plugin update, when the exception happened?
I think such strange exceptions may happen if you update the Dart plugin without restarting the IDE. But I'm not sure how it's possible to get it right after the IDE start. Any hints to reproduce or to investigate the problem are welcome.
@HiroyukiTamura Does it happen each time you start the IDE? If not, do you think it could be related to the Dart plugin update, when the exception happened?
I think such strange exceptions may happen if you update the Dart plugin without restarting the IDE. But I'm not sure how it's possible to get it right after the IDE start. Any hints to reproduce or to investigate the problem are welcome.
No, it happened only once. I think it absolutely related to the Dart plugin update.
The situation is like this; I worked on my Flutter project for the first time in a while. I updated the Dart plugin, Flutter(from 2.2.3 to 2.5.2 on stable channel), and some dependencies on pubspec.yaml and android gradle files. It occurred in the middle of that, so I just noticed the bug mark right after opening AS but it may happened before.
What happened
just open Android Studio
Version information
Android Studio
Arctic Fox | 2020.3.1 Patch 2
• Flutter pluginio.flutter 60.1.2
Error getting Flutter sdk information.
Exception
null