The emulator process for AVD xxx has terminated 另一个解决方式
网上查询到两种解决方式
第一种是修改C:\Users\用户名.android 目录到自定义的SDK文件路径下
第二种是
打开studio的日志文件 C:\Users\123\AppData\Local\Google\AndroidStudio2021.1\log 找到记录
2022-04-24 10:52:59,952 [ 572700] INFO - manager.EmulatorProcessHandler - Emulator: D:\Android\SDK\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_5_API_30 -qt-hide-window -grpc-use-token -idle-grpc-timeout 300
2022-04-24 10:53:00,511 [ 573259] INFO - manager.EmulatorProcessHandler - Emulator: unknown option: -qt-hide-window
2022-04-24 10:53:00,511 [ 573259] INFO - manager.EmulatorProcessHandler - Emulator: please use -help for a list of valid options
2022-04-24 10:53:00,514 [ 573262] INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 1
2022-04-24 10:53:00,514 [ 573262] WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 1
修改D:\Android\SDK\.android\.android\avd\Pixel_5_API_31.avd 里面的config文件 hw.gpu.mode=off
这两种情况都使用之后发现还是无法启动
最后发现只要将模拟器的ABI修改成x86_64就能正常启动了
记录一下 以后预计可以查找一下