Android emulator: ERROR: unknown virtual device name: 'android-15'

Today i started to develop some Android application on my home computer. When i wanted to debug my application i got the following errors:

emulator: ERROR: unknown virtual device name: 'android-15'
emulator: could not find virtual device named 'android-15'

Guess what? Because my Users directory is not located on the C:\ disk but on the D:\ disk i got this error. This is due to the Android Developer Kit creating an .android folder in your \Users\{username}\ folder, and expecting it to be on the C:\ disk.

Fix: On Windows Vista + you can create a simlink with the ‘mklink’ command.

  1. Open a command prompt and navigate to C:\Users\{username}
  2. Execute the following: mklink /J .android D:\Users\{UserName}.android

This creates a virtual reference to the .android folder (located on my D: partition) as if it was existing on the C:\ partition. #yay

Found this on: techtraveller.blogspot.com

Show Comments