Trouble getting Android emulator to run in eclipse

2019-01-23 02:57发布

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

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:

emulator: ERROR: no search paths found in this AVD's configuration

weird, the AVD's config.ini file is malformed. Try re-creating it.

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

Update:

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.

17条回答
forever°为你锁心
2楼-- · 2019-01-23 03:22

The problem here is that my c:\users... path has foreign characters in it "Michael Schøler" - the "ø" being the problem.

This is an ecclipse and/or Android SDK problem.

查看更多
【Aperson】
3楼-- · 2019-01-23 03:23

Try to download again the SDK, unzip it and reinstall through Eclipse.

Be sure to have the last version and have configured all the paths in Eclipse preferences correctly.

查看更多
The star\"
4楼-- · 2019-01-23 03:27

I also had the same problem since my username was in Cyrilic letters Димитров.

I change it to a latin alphabet and then it's OK.

查看更多
一夜七次
5楼-- · 2019-01-23 03:28

If you have special character in your username do this:
~/.android/avd on OS X and Linux, C:\Documents and Settings\user\.android\ on Windows XP, and C:\Users\user\.android\avd on Windows Vista, 7.
There name.ini and name.avd folder
- copy the folder for example: C:\
- modifiy the path in the .ini to path=C:\name.avd

查看更多
Deceive 欺骗
6楼-- · 2019-01-23 03:28

I had the same error. What I found was that I was missing ARM EABI v7a System Image.

I fixed it by opening the Android SDK Manager (The tool bar button looks like a little white arrow in a gray box with green android head)

I checked the missing system image and clicked the install button.

See this topic.

查看更多
登录 后发表回答