颤振:URI 的目标不存在

flutter: Target of URI doesn't exist

当我尝试打开我的开发人员的 flutter 项目时,我收到数百个错误,例如他没有找到多个包。包含我的应用程序名称的包,因此它们可能是定制的。他说我应该拥有一切,但它会出错,因为我的 flutter 版本比项目在 vsc 中识别的版本更新。这个对吗?如果是这样,我怎样才能得到这些包裹?

''''

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)

运行 flutter clean 然后 flutter pub get ,据我所知,相关的包不在应用程序中,所以你必须通过 pub get 来获取它们。

尝试将Dart文件所在的位置写入导入部分,以防出现这种情况。

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

尝试创建由 URI 引用的文件,或尝试对执行以下操作的文件使用 URI:

exist.dart(uri_does_not_exist)

尝试删除此 fimber_base.dart 的导入 URI,或者,如果您使用 Android Studio 作为 IDE,请按 alt+enter,应该给库导入.