麻烦Android模拟器在Eclipse中运行 [英] Trouble getting Android emulator to run in eclipse

查看:158
本文介绍了麻烦Android模拟器在Eclipse中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Eclipse 3.5上运行的模拟器的SDK示例。

I'm trying to run the SDK Samples on the Emulator in Eclipse 3.5.

大多数时候,当我尝试创建一个新的AVD的AVD管理挂起的时间。 当我设法创建一个AVD并尝试启动我得到这个模拟器:

Most of the time the AVD Manager hangs when I try to create a new AVD. When I manage to create an AVD and try to start the emulator I get this:

模拟器:错误:没有在此AVD的配置中发现的搜索路径

怪异的AVD的config.ini文件的格式不正确。请尝试重新创建它。

我运行Win7的32位SDK的最新版本。任何想法?

I'm running the latest version of the SDK on Win7 32 bit. Any ideas?

更新:

我想我找到了问题的根源。我运行一个希伯来语版本WIN 7,我的用户名是希伯来语。显然,这导致了Eclipse的一个问题。一旦我开始怀疑这是问题,我创建了一个新的用户名为DEV系统并尝试运行在该用户的模拟器。走到像黄油。

I think I found the source of the problem. I'm running a Hebrew version of WIN 7. My user name is in Hebrew. Apparently this causes a problem for Eclipse. Once I started to suspect that was the problem, I created a new user on the system called DEV and tried to run the emulator under that user. Went like butter.

推荐答案

您可以设置环境变量 ANDROID_SDK_HOME 。例如:

You can set the environment variable ANDROID_SDK_HOME. For example:

ANDROID_SDK_HOME=D:\Development\android-sdk\

它帮助我。这个变量加入< eclipseFolder> \配置\ .settings \ org.eclipse.ui.ide preFS

ANDROID_SDK_HOME=D\:\\Development\\android-sdk\\

停止进程 adb.exe 和(重新)启动Eclipse。

Stop the process adb.exe and (re)start Eclipse.

这篇关于麻烦Android模拟器在Eclipse中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆