flutter upgrade 升級報錯


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

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM