Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I had the same problem this weekend. In my case, I was able to create the AVD's, but not able to start them.</p> <p>The problem was caused by the AVD Manager creating the AVD's in a different directory from where the emulator was trying to launch the AVD's.</p> <p>In my case, AVD Manager was initially reporting the list of existing Android Virtual Device located at C:\Users\toybuilder\Downloads\.android\avd </p> <p>It turns out that my Java runtime (in this case, JDK 1.6u24) was reporting C:\Users\toybuilder\Downloads as my home directory (user.home property). I first confirmed this via Eclipse:</p> <p>In Eclipse, go to:</p> <p>Eclipse Menu: Help -> About Eclipse Click on the [Installation Details] Click on the [Configuration] tab: The text box fills with an extended dump of the Eclipse environment . Look for the user.home value. In my case, the line read: user.home=C:\Users\toybuilder\Downloads</p> <p>It turns out that there's a long-standing <a href="http://bugs.sun.com/view_bug.do?bug_id=4787931" rel="nofollow noreferrer" title="Java user.home bug - nearly 9 years old">Java bug</a> (nearly 9 years old) on how the Java runtime determine's the user.home property - <a href="https://stackoverflow.com/questions/2134338/java-user-home-is-being-set-to-userprofile-and-not-being-resolved" title="Wrong value for Java user.home">as discussed elsewhere on StackOverflow</a></p> <p>In my particular case, the buggy behavior was triggered by a bad windows folders redirection. I had apparently moved my Desktop folder into my Downloads directory at some point by accident. Although I had fixed the problem, it nevertheless left an entry in my registry with a Desktop folder redirection to the Downloads directory. There was a HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop registry key that pointed, incorrectly, to C:\Users\toybuilder\Downloads\Desktop</p> <p>The Java runtime was apparently setting user.home as "Desktop"/.. (i.e., the Downloads directory), while some other mechanisms were resolving the home directory at the correct location (probably the Windows %userprofile% environmental value) -- and hence when the emulator was starting up, it could not find the .android/avd directory, because it was looking from a different starting directory.</p> <p>After I deleted the incorrect redirection registry key, the problem went away.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload