项目场景:Android studio模拟器
Error Opening Emulator
emulator: ERROR: Running multiple
emulators with the same AVD is an
experimental feature.Please use -read-only
flag to enable this feature.
问题描述:
Error Opening Emulator
emulator: ERROR: Running multiple
emulators with the same AVD is an
experimental feature.Please use -read-only
flag to enable this feature.
原因分析:
未知!因为新学习我也没接触过,前一天我真机实践了一下第二天重新用模拟器就出问题了,我在想是不是因为真机实践的时候没有从AS上关闭然后导致的
解决方案:
删除原先的模拟器然后重新创建一个新的模拟器。结果就能运行了。
至于我还试过几个办法,1.\flutter\bin\cache目录下删除一个叫lockfile的文件(无效)。C:\Users\lenovo.android\avd\Pixel_2_API_28.avd模拟器目录下删除两个文件multiinstance,lock还有另一个lock的文件夹(也无效).