1. iOS熱重載失效 Error 105 received from application: Isolate must be runnable
Error 105 received from application: Isolate must be runnable
Hot reload received invalid response: {code: 105, message: Isolate must be runnable, data: {request: {method: _reloadSources, params: {pause: false, rootLibUri:
file:///Users/edz/Library/Developer/CoreSimulator/Devices/74C78E3B-0DEA-4D2B-8442-95F415EF0F14/data/Containers/Data/Application/8A1C31EC-7229-4B50-AE5F-88C223BCCF50/tmp/flutter_mixedAeuAuy/flutter_mixed/li
b/main.dart.incremental.dill, packagesUri:
file:///Users/edz/Library/Developer/CoreSimulator/Devices/74C78E3B-0DEA-4D2B-8442-95F415EF0F14/data/Containers/Data/Application/8A1C31EC-7229-4B50-AE5F-88C223BCCF50/tmp/flutter_mixedAeuAuy/flutter_mixed/.p
ackages, isolateId: isolates/3504661799683503}}, details: Isolate must be runnable before this request is made.}}
原因:flutter sdk自身bug
解決:升級(jí)flutter版本至1.2.22后該問(wèn)題消失(可能flutter 1.2等版本已修復(fù)該問(wèn)題)
2. flutter包管理命令執(zhí)行失敗
Waiting for another flutter command to release the startup lock
解決:移除 flutter_sdk目錄下 /bin/cache/lockfile文件即可