美文网首页
flutter upgrade 升级报错

flutter upgrade 升级报错

作者: 代码小王子 | 来源:发表于2020-10-14 13:20 被阅读0次
    Your flutter checkout has local changes that would be erased by upgrading. If you want to keep these changes, it is recommended that you stash them via "git stash" or else
    commit the changes to a local branch. If it is okay to remove local changes, then re-run this command with --force.
    

    在使用第三方库的时候,说是flutter sdk版本不够,于是我输入 flutter upgrade指令,以上就是报错信息
    解决方法:加上--force,强制升级

    flutter upgrade --force
    

    相关文章

      网友评论

          本文标题:flutter upgrade 升级报错

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