我遇到了错误信息 "the emulator process for avd was killed",在这个网站上搜索了类似的问题,并且尝试过重新安装 haxm 和运行全新的 Android Studio 安装程序。
以下是日志,请有经验的人帮我解决这个问题,谢谢!
2020-10-16 17:08:00,561 [ 1348] INFO - gs.impl.UpdateCheckerComponent - channel: release
2020-10-16 17:08:00,628 [ 1415] WARN - nSystem.impl.ActionManagerImpl - keymap "ReSharper" not found [Plugin: com.android.tools.ndk]
2020-10-16 17:08:00,648 [ 1435] WARN - nsions.impl.ExtensionPointImpl - Extension to be removed not found: class org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer
2020-10-16 17:08:00,762 [ 1549] WARN - Container.ComponentManagerImpl - Do not use constructor injection (requestorClass=com.android.tools.idea.apk.symbols.DebugSymbolNotifications)
2020-10-16 17:08:01,200 [ 1987] INFO - rd.FirstRunWizardFrameProvider - Overriding welcome frame to be resizable
2020-10-16 17:08:06,410 [ 7197] INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\Cian\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_4
2020-10-16 17:08:06,427 [ 7214] INFO - roid.tools.idea.adb.AdbService - Initializing adb using: C:\Users\Cian\AppData\Local\Android\Sdk\platform-tools\adb.exe
2020-10-16 17:08:06,439 [ 7226] INFO - manager.EmulatorProcessHandler - Emulator: emulator: ERROR: Unknown AVD name [Pixel_4], use -list-avds to see valid list.
2020-10-16 17:08:06,439 [ 7226] INFO - manager.EmulatorProcessHandler - Emulator: ANDROID_SDK_HOME is defined but there is no file Pixel_4.ini in $ANDROID_SDK_HOME\avd
2020-10-16 17:08:06,439 [ 7226] INFO - manager.EmulatorProcessHandler - Emulator: (Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME\avd and $HOME\.android\avd)
2020-10-16 17:08:06,440 [ 7227] INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 1
2020-10-16 17:08:06,441 [ 7228] WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 1
2020-10-16 17:08:08,508 [ 9295] WARN - #com.android.ddmlib - * daemon not running; starting now at tcp:5037
2020-10-16 17:08:08,529 [ 9316] WARN - #com.android.ddmlib - * daemon started successfully
2020-10-16 17:08:08,537 [ 9324] INFO - #com.android.ddmlib - Connected to adb for device monitoring
2020-10-16 17:08:08,736 [ 9523] INFO - roid.tools.idea.adb.AdbService - Successfully connected to adb
编辑后的日志
2020-10-16 18:12:02,605 [ 881852] INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\Cian\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_4_XL_API_30
2020-10-16 18:12:02,631 [ 881878] INFO - manager.EmulatorProcessHandler - Emulator: emulator: ERROR: Unknown AVD name [Pixel_4_XL_API_30], use -list-avds to see valid list.
2020-10-16 18:12:02,631 [ 881878] INFO - manager.EmulatorProcessHandler - Emulator: ANDROID_SDK_HOME is defined but there is no file Pixel_4_XL_API_30.ini in $ANDROID_SDK_HOME\avd
2020-10-16 18:12:02,631 [ 881878] INFO - manager.EmulatorProcessHandler - Emulator: (Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME\avd and $HOME\.android\avd)
2020-10-16 18:12:02,631 [ 881878] INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 1
2020-10-16 18:12:02,631 [ 881878] WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 1
2020-10-16 18:12:32,480 [ 911727] INFO - manager.EmulatorProcessHandler - Emulator: C:\Users\Cian\AppData\Local\Android\Sdk\emulator\emulator.exe -netdelay none -netspeed full -avd Pixel_4_XL_API_30
2020-10-16 18:12:32,506 [ 911753] INFO - manager.EmulatorProcessHandler - Emulator: emulator: ERROR: Unknown AVD name [Pixel_4_XL_API_30], use -list-avds to see valid list.
2020-10-16 18:12:32,506 [ 911753] INFO - manager.EmulatorProcessHandler - Emulator: ANDROID_SDK_HOME is defined but there is no file Pixel_4_XL_API_30.ini in $ANDROID_SDK_HOME\avd
2020-10-16 18:12:32,506 [ 911753] INFO - manager.EmulatorProcessHandler - Emulator: (Note: Directories are searched in the order $ANDROID_AVD_HOME, $ANDROID_SDK_HOME\avd and $HOME\.android\avd)
2020-10-16 18:12:32,506 [ 911753] INFO - manager.EmulatorProcessHandler - Emulator: Process finished with exit code 1
2020-10-16 18:12:32,506 [ 911753] WARN - manager.EmulatorProcessHandler - Emulator terminated with exit code 1