Waiting for another flutter command to release the startup lock解決辦法

在Android Stuido運行main.drt提示“Waiting for another flutter command to release the startup lock”

$ flutter devices
Waiting for another flutter command to release the startup lock...

關閉Android Stuido

找到 flutter安裝目錄

$ which flutter
~/develoment/flutter/bin/flutter

打開安裝目錄下的bin/cache,刪除lockfile

$cd ~/develoment/flutter/bin/cache
$rm -rf lockfile

重新打開Android Stuido,運行即可以了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章