'Dart package Path_provider_macos has broken classes path
In my flutter project structure settings, the android studio gives me this problem:
Library Dart Packages has broken classes paths: $home/snap/flutter/common/flutter/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.2/lib [Fix]
Removing this folder and repairing the cache using dart pub cache repair does not help.
This package path_provider_macos-2.0.2 does not have a lib folder even in their repo - https://github.com/flutter/plugins/tree/master/packages/path_provider/path_provider_macos
Every other dart package has that essential lib folder. Maybe it's the package error?
Does anyone know how to fix this?
Solution 1:[1]
After a quick look, it seems that using this package is not necessary. As seen in the image below. Therefore I think using path_provider itself should also work for MacOs
Greetz!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Gorter-dev |

