'flutter: Target of URI doesn't exist

When I try to open the flutter project of my developer, I get hundreds of errors, that he does not find multiple packages for instance. Packages that consist with the name of my app, so they are probably custom made. He says I should have everything and that it gives errors because my flutter version is newer than the one that the project recognises in vsc. Is this correct? And if so, how can I get these packages?

''''

Target of URI doesn't exist: 'package:fimber/fimber_base.dart'. 
Try creating the file referenced by the URI, or Try using a URI for a file that does      
exist.dart(uri_does_not_exist)


Solution 1:[1]

run flutter clean and then flutter pub get , As far as I assume, related packages are not in the app, so you have to get them via pub get.

Solution 2:[2]

Try to write where the Dart file is located in the import section, in a case of sth like this.

Target of URI doesn't exist: 'package:fimber/fimber_base.dart'.

Try creating the file referenced by the URI, or try using a URI for a file that does:

exist.dart(uri_does_not_exist)

Try to delete the import URI to this fimber_base.dart or, if you are using the Android Studio as your IDE, press alt+enter, it should give the library to import.

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 xahid_rocks
Solution 2 Jeremy Caney