2010-07-12

Android SDK with emulator: ERROR: unknown virtual device name

My users directory was changed from C: to D: and I had errors every time I ran the Android SDK emulator.
Finally, realized that the Android SDK starts looking in C: by default. It could not find the .android in C:\Users\ and pops out the emulator error message.


Two ways to fix this.
  1. Use a mklink to create a symbolic link from your C:\Users\{my home}\.android to D:\Users\{my home}\.android
  2. Set the ANDROID_SDK_HOME environment variable to D:\Users\{my home}

Both methods worked for me.

Here is where I picked up these tip:
http://techtraveller.blogspot.com/2009/07/android-fixed-unknown-virtual-device.html

No comments:

Post a Comment

Github CoPilot Alternatives (VSCode extensions)

https://www.tabnine.com/blog/github-copilot-alternatives/