Open
Description
I have the following structure in a project.
- project
- packages
- data
- domain
- state
Added to pubspec.yaml for all packages:
custom_link: 0.6.2
my_lint: 1.0.0
And if you remove from one package all dependencies related to flutter, for example domain:
name: domain
description: "Domain"
version: 0.0.1
homepage:
environment:
sdk: '>=3.2.3 <4.0.0'
dependencies:
dev_dependencies:
custom_lint: 0.6.2
my_lint: 1.0.0
And in other packages I leave everything as is, then I get an error:
The request analysis.setContextRoots failed with the following error:
RequestErrorCode.PLUGIN_ERROR
ProcessException: No such file or directory
Command: flutter pub get
Sometimes:
The request analysis.setContextRoots failed with the following error:
RequestErrorCode.PLUGIN_ERROR
UnimplementedError
However, this problem is observed only in Android Studio, when using VS Code this problem is not observed