当尝试使用 Android Studio 在 Flutter 中运行 Android 虚拟设备 (AVD) 时,弹出此警告并且 AVD 立即终止。
WARNING | Failed to process .ini file C:\Users\WIN10\.android\avd\Pixel_XL_API_28.avd\quickbootChoice.ini for reading.
这就是 idea.log 打印的内容 (\Users...\AppData\Local\Google\AndroidStudio2022.2\log\idea.log)
2023-05-19 20:32:27,145 [ 626746] INFO - #i.f.r.d.DeviceDaemon - starting Flutter device daemon #3: D:/Flutter/SDK/flutter/bin/flutter.bat daemon
2023-05-19 20:32:28,179 [ 627780] INFO - #i.f.r.d.DeviceDaemon - flutter device daemon #3: Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
2023-05-19 20:32:28,179 [ 627780] INFO - #i.f.r.d.DeviceDaemon - flutter device daemon #3: Starting device daemon...
2023-05-19 20:32:32,018 [ 631619] INFO - #c.a.t.i.d.DeviceManagerAndroidDebugBridge - []
2023-05-19 20:32:32,055 [ 631656] WARN - #c.a.t.i.a.AvdManagerConnection - Unable to determine if Pixel_XL_API_28 is online, assuming it's not
Flutter 医生运行时没有任何警告。我以前能够使用 AVD,所以不确定为什么它突然不起作用。
我试过擦除AVD;使用其他安卓模拟器;并重新安装 AVD & flutter SDK - 但继续遇到此错误。请帮忙!