---
title: "解决Android创建AVD失败"
author: "leecong1p"
date: "2012-03-21T21:37:05Z"
tags: []
categories: ["移动开发"]
slug: "android-avd"
draft: false
lastmod: "2012-03-21T21:37:05Z"
id: 1460930
url: "https://leestorm.iteye.com/blog/1460930"
---

有时候我们重新下载了一份Android SDK，或者把SDK路径修改了，运行eclipse会遇到无法启动AVD的问题。诸如：emulator:ERROR:no search paths found in this AVD's configuration. Weird, the AVD's config.ini file is malformated……

这时候到preferences里设置路径也无济于事，原因是keystore路径冲突。解决方法：

添加一个ANDROID\_SDK\_HOME的环境变量， 值为D:\\android\_sdk（你的SDK路径）。

或者设置下面的custom debug keystore手动设置keystore位置。