---
title: "如何解决：ERROR: the user data image is used by another emulator. aborting 的问题"
author: "lkf009"
date: "2012-07-31T15:26:53Z"
tags: []
categories: ["移动开发"]
slug: "error-the-user-data-image-is-used-by-another-emulator-aborting"
draft: false
lastmod: "2012-07-31T15:26:53Z"
id: 1613667
url: "https://lkf009.iteye.com/blog/1613667"
---

问题概述：

在启动Android模拟器时出现以下错误，导致启动失败。

ERROR: the user data image is used by another emulator. aborting。

 

原因：

系统判断你当前已经启动了另外一个emulator，可能是某些正常操作或异常退出造成的。

 

解决方法：

进入你avd目录下:

如：C:\\Documents and Settings\\Administrator\\.android\\avd\\android2.3.avd

删除以lock结尾的文件夹。(我简单解释下为什么要删除这些文件呢，其实.lock是加锁，如果程序崩溃等原因导致无法清除这些以.lock结尾的文件夹，就会出现这个问题，也就是这个avd的锁没有被释放，导致avd　manager以为这个avd正在使用当中。)