Warning! This package referenced a Flutter repository via the .packages file that is no longer available. The repository from which the 'flutter' tool is currently executing will be used instead.
Android Studio运行 Flutter,出现如下错误:大概意思是包路径发生变化,和之前的引用路径不匹配
解决方法:先
clean
, 再重新get
包路径
-
cleanTools - Flutter- Flutter Clean
-
get packagesTools - Flutter- Flutter Packages Get
-
运行程序,问题已解决!!
网友评论