title: AVD Manager on Android Studio 1.5.1 and install to a custom location emulator won't run
body: <p>I installed Android Studio (1.5.1 -- see image for build details).
  <a href="https://i.stack.imgur.com/fhopO.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fhopO.png" alt="enter image description here"></a></p>
  
  <p>While installing I chose the custom option so I could install a specific path. 
  I knew that my %SystemDrive% was pointed at a network location and I wanted to install to my local disk.</p>
  
  <p>So, this means that by default, the application would've installed to :
  \networkpath\users\myUserName\Android\SDK</p>
  
  <p>However, since I chose the custom installation I chose a local path:
  c:\users\myUsername\Android\SDK</p>
  
  <p><strong>Project Creation and Build Work Fine</strong></p>
  
  <p>Everything seemed to install fine and I was able to create a new project and build it with no problems.</p>
  
  <p>However, when I attempted to run the built and then basically failed silently.
  The emulator never appeared and no error occurred.
  Android Monitor just shows a message stating that No Connected Device detected.
  <strong>AVD Manager</strong></p>
  
  <p>Luckily I knew a bit about checking to see what happened with the emulator and I opened up AVD Manager.
  The listed device displayed an error.
  I right-clicked the device and chose "View Details".
  That's when the AVD manager showed that it is attempting to read from the network path, even though I changed this in the custom installation.
  \networkPath\Users\myUserName\Windows.android\avd\Nexus4.avd
  and 
  \networkPath\Users\myUserName\Windows.android\avd\Nexus4.ini</p>
  
  <p><strong>Registry Edit</strong></p>
  
  <p>I closed Android Studio.  Then I opened regedit and edited the values at:
   HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
  which originally looked like the following:
  <a href="https://i.stack.imgur.com/AN0ra.png" rel="noreferrer"><img src="https://i.stack.imgur.com/AN0ra.png" alt="registry values"></a></p>
  
  <p>And changed them so they all point directly to the c:\ drive (instead of %systemdrive%)</p>
  
  <p><strong>Environment Variable : ANDROID_SDK_HOME</strong></p>
  
  <p>I found that others have mentioned the ANDROID_SDK_HOME environment variable and I noticed that my machine doesn't have that value defined at all so I added it and set it up like the following:
  c:\users\myUsername\Android\SDK</p>
  
  <p>I then started Android Studio again and started the AVD Manager.
  This time there were no devices show, but instead AVD Manager prompted me to create one with the following window:
  <a href="https://i.stack.imgur.com/lmQyg.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lmQyg.png" alt="AVD Manager Create new device"></a></p>
  
  <p>Now, I'm attempting to download one of the devices with Google APIs, but each time I do, they download and install successfully, but then disappear from the list.  Notice, in the next image there are not API Level 15 or 16 with Google APIs for arm architecture.<br>
  <a href="https://i.stack.imgur.com/atwiE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/atwiE.png" alt="enter image description here"></a></p>
  
  <p>Notice additionally that there <strong>is</strong> one listed for API Level 17 with arm.
  I will now attempt to install that one.</p>
  
  <p><a href="https://i.stack.imgur.com/1U2Ye.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1U2Ye.png" alt="download image"></a></p>
  
  <p>You can see that it downloaded successfully and installed fine.
  Now, I click the [Finish] button.
  The item no longer appears in my list.
  <a href="https://i.stack.imgur.com/pVpma.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pVpma.png" alt="item is gone"></a></p>
  
  <p>The API Level 15 item is chosen automatically.  I'm assuming because that one was downloaded originally when I installed Android Studio.</p>
  
  <p>Finally, if you uncheck  the [ ] show downloadable system images checkbox -- which is terribly confusing -- and I'm assuming shows you the ones you've already downloaded, then you'll see that it only shows the one API Level 15 virtual device.
  <a href="https://i.stack.imgur.com/h47JJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/h47JJ.png" alt="only one device"></a></p>
  
  <p>This is all quite terrible.  Has anyone seen this problem?
  Has anyone else been able to fix it?</p>
  
  <p>I'm assuming that I'll just have to go and do a complete re-install of Android Studio.  </p>