Android: Emulator Can’t Find Images

If you are getting an error message from the Android emulator similar to:

emulator: ERROR: unknown virtual device name: 'xxx'
emulator: could not find virtual device named 'xxx'

It’s because the Android emulator works a little differently from the rest of the SDK (the rest of the SDK is Java, emulator.exe is C/++). The rest of the SDK behaves correctly in terms of user home folder (I move mine to a different hard disk) and emulator.exe has it hardcoded (depending on your OS). In Windows 7 and Vista that means it ALWAYS looks in “C:\Users\<username>\.android”. The fix for this is simple (in a command prompt under Vista/Win7):

C:
cd C:\Users\<user name>
mklink /j .android <new home directory>\.android

Worked for me. Source: XDA Developers.

This entry was posted in Android, Top Hacks. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>