Test folder inside local packages: IDE or Dart Analyzer doesn't work

18 views
Skip to first unread message

Ahmed Erabti

unread,
May 15, 2020, 9:07:41 PM5/15/20
to Flutter Development (flutter-dev)
Hi, I have multiple subpackages inside my Flutter app, and in the test folder of these packages sometimes dart analyzer doesn't work.

Flutter doctor:

✓] Flutter (Channel beta, v1.17.0, on Linux, locale en_US.UTF-8)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.44.2)
[✓] Connected device (2 available)

• No issues found!

I don't know from where to start to fix this problem, if I delete IDE related files like the .iml files, .dart_tool folder, .idea folder, .metadata, .packages etc and run flutter create . again it works then once I reopen my IDE (Android Studio or VS Code) or some time passes the problem comes up again.

Souvik Dutta

unread,
May 15, 2020, 9:14:20 PM5/15/20
to Ahmed Erabti, Flutter Development (flutter-dev)
Does this stop the app from running? If so then I think if you open every .dart file once and wait for the color of the page to come up (complete the analysis), it should work.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/009f8f61-8335-4059-9036-5d0d8d59055f%40googlegroups.com.

Ahmed Erabti

unread,
May 15, 2020, 9:21:18 PM5/15/20
to Flutter Development (flutter-dev)
No it doesn't, I can compile the app, it just doesn't show the analysis,
I waited for it, it's not a waiting matter, it never highlights.



On Saturday, May 16, 2020 at 3:14:20 AM UTC+2, Souvik Dutta wrote:
Does this stop the app from running? If so then I think if you open every .dart file once and wait for the color of the page to come up (complete the analysis), it should work.

On Sat, 16 May, 2020, 6:37 am Ahmed Erabti, <med....@gmail.com> wrote:
Hi, I have multiple subpackages inside my Flutter app, and in the test folder of these packages sometimes dart analyzer doesn't work.

Flutter doctor:

✓] Flutter (Channel beta, v1.17.0, on Linux, locale en_US.UTF-8)
 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] VS Code (version 1.44.2)
[✓] Connected device (2 available)

• No issues found!

I don't know from where to start to fix this problem, if I delete IDE related files like the .iml files, .dart_tool folder, .idea folder, .metadata, .packages etc and run flutter create . again it works then once I reopen my IDE (Android Studio or VS Code) or some time passes the problem comes up again.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.

Souvik Dutta

unread,
May 15, 2020, 9:47:14 PM5/15/20
to Ahmed Erabti, Flutter Development (flutter-dev)
Oh then I think you should open an issue in GitHub...

To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/76b0d131-85cd-4769-b768-0387c98017ac%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages