美文网首页工作生活
Flutter repository via the .pack

Flutter repository via the .pack

作者: May_Dobin | 来源:发表于2019-07-04 16:21 被阅读0次

    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,出现如下错误:大概意思是包路径发生变化,和之前的引用路径不匹配

    error
    解决方法:先clean, 再重新get包路径
    • Tools - Flutter- Flutter Clean

      clean
    • Tools - Flutter- Flutter Packages Get

      get packages
    • 运行程序,问题已解决!!

    相关文章

      网友评论

        本文标题:Flutter repository via the .pack

        本文链接:https://www.haomeiwen.com/subject/xnjrhctx.html