You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Android模拟器启动报错:Device is Already Activating 求助

解决API 34升级后模拟器"Device is Already Activating"报错方案
  • 强制终止模拟器相关进程
    打开Windows任务管理器,结束所有包含qemu、emulator、Android Emulator的进程,清除卡在激活状态的残留进程后重启模拟器。

  • 清理模拟器缓存与配置文件
    手动删除模拟器缓存目录:C:\Users\[你的用户名]\.android\avd\[模拟器名称]\cache,同时删除该目录下除userdata-qemu.img外的临时文件,之后重新创建模拟器并启动。

  • 重置模拟器设备状态
    打开Android Studio的Device Manager,选中目标模拟器,点击右上角下拉菜单选择Wipe Data,完成后尝试启动;若无效,选择Delete彻底移除,重新创建API 34版本模拟器,优先选择x86_64架构(CPU支持的情况下)。

  • 调整模拟器图形渲染设置
    编辑模拟器配置,进入Show Advanced Settings,将Emulated Performance下的Graphics选项切换为Software - GLES 2.0,禁用硬件加速后启动,部分显卡在API 34环境下可能存在硬件加速兼容性问题。

  • 验证SDK组件完整性
    打开SDK Manager,确认Android 14 (API 34)下的Android SDK Platform、Intel x86 Emulator Accelerator (HAXM installer)(AMD CPU对应AMD加速组件)等核心组件已安装且为最新版本;AMD用户需确保BIOS中已开启SVM虚拟化选项。

  • 清理Android Studio缓存
    关闭Android Studio,删除C:\Users\[你的用户名]\.AndroidStudioJellyfish\system目录下的caches和logs文件夹,重启IDE后再尝试运行模拟器。


报错日志

2024-05-20 11:21:52,267 [ 352923] SEVERE - #c.i.o.p.Task - Device is already activating
com.android.sdklib.deviceprovisioner.DeviceActionDisabledException: Device is already activating
at com.android.sdklib.deviceprovisioner.LocalEmulatorProvisionerPlugin$LocalEmulatorDeviceHandle$internalStateFlow$1.invokeSuspend(LocalEmulatorProvisionerPlugin.kt:417)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
2024-05-20 11:21:52,273 [ 352929] SEVERE - #c.i.o.p.Task - Android Studio Jellyfish | 2023.3.1 Build #AI-233.14808.21.2331.11709847
2024-05-20 11:21:52,273 [ 352929] SEVERE - #c.i.o.p.Task - JDK: 17.0.10; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2024-05-20 11:21:52,274 [ 352930] SEVERE - #c.i.o.p.Task - OS: Windows 11
2024-05-20 11:21:52,274 [ 352930] SEVERE - #c.i.o.p.Task - Last Action: Run
2024-05-20 11:21:52,563 [ 353219] INFO - #o.j.p.g.GradleManager - Instructing gradle to use java from D:\TW\Tools\Java
2024-05-20 11:21:52,664 [ 353320] INFO - #com.android.tools.idea.diagnostics.error.AndroidStudioErrorReportSubmitter - Exception signature: com.android.sdklib.deviceprovisioner.DeviceActionDisabledException at com.android.sdklib.deviceprovisioner.LocalEmulatorProvisionerPlugin$LocalEmulatorDeviceHandle$internalStateFlow$1.invokeSuspend-cf11dc37, report ID: b02f79cdb6cff2f3
2024-05-20 11:21:56,989 [ 357645] INFO - #c.i.w.i.i.j.s.JpsGlobalModelSynchronizerImpl - Saving global entities to files

内容的提问来源于stack exchange,提问作者Rohan Pande

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.23 18:42:21