Author: Steven Neiland

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

I have a slightly different configuration for my main windows computer in that I placed my users directory on my D:\ drive which is a raid 0+1 array. Unfortunately this confused the android emulator so that it continued to look for my avd files on the C:\ drive giving me this nice message:

PANIC: Could not open: C:\Users\Steven\.android/avd/xoom.avd

This is doubly stupid because I had just used the device manager 5 minutes ago to create that virtual device in the correct location.


If this happens to you one solution that has worked for me is to create an environment variable name "ANDROID_SDK_HOME" with a value of "D:\Users\Steven\.android"

Then restart the AVD manager and you should be able to create and start the virtual devices now (provided google has not screwed anything else up).

Quality Control Fail

Its obvious that somewhere along the line the users directory location was hardcoded into the virtual device manager. I have to say I am less than impressed with google's code review process if something like this slipped through. Finding the users directory is a simple environment variable lookup %USERPROFILE%. Not exactly rocket science.

What Do You Think?

Reader Comments

Barney's Gravatar
Saturday, July 20, 2013 at 12:39:13 AM EDT

Wow. I've been having the same trouble "PANIC: Could not open: phone1". I have the environment variable (ANDROID_SDK_HOME) set to E:\Users\Barney\.android and couldn't get anything to work. After reading this message, I copied that directory to the C: drive (ANDROID_SDK_HOME still set to the E: drive) and everything works fine now! Thanks for the tip!

Post a Comment

Comment Etiquette:

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain or appear to be advertisments, will not be published.
  • Comments that appear to be created for the purpose of linkbuilding to commercial sites will be removed.

We are all adults here so play nice.


Archives Blog Listing

Tag Listing

Learn CF In A Week


Fork me on GitHub