title: Android - Failed to find an AVD compatible with target 'Android 1.6' error
body: <p>I'm trying to run a Hello World app for Android for the first time, but I keep getting a:</p>
  
  <pre><code>Failed to find an AVD compatible with target 'Android 1.6'
  </code></pre>
  
  <p>error when I try to create an AVD.</p>
  
  <p>I have tried the following solution in order to fix the issue:</p>
  
  <ul>
  <li>Checked that I have the right packages installed. I have Android SDK Tools Revision 11, Android SDK Platform-Tools Revision 4, SDK Platforms 4, 7, 8, 9, 10, 11 and 12, Android Compatability package.</li>
  <li>I've checked that my PATH environment variable is pointing to the right places for the Tools and the Platform-Tools folders.</li>
  <li>Played around with setting the project at different platform levels etc.</li>
  <li>Switching off my Virus Protection temporarily</li>
  </ul>
  
  <p>I always get a similar error message, though.</p>
  
  <p>This is what I get in the eclipse console when I try to launch.</p>
  
  <pre><code>[2011-05-28 11:43:47 - HelloAndroid] ------------------------------
  [2011-05-28 11:43:47 - HelloAndroid] Android Launch!
  [2011-05-28 11:43:47 - HelloAndroid] adb is running normally.
  [2011-05-28 11:43:47 - HelloAndroid] Performing com.androidbook.hello.HelloActivity activity launch
  [2011-05-28 11:43:47 - HelloAndroid] Failed to find an AVD compatible with target 'Android 1.6'.
  [2011-05-28 11:44:27 - SDK Manager] could not create file 'C:\Windows\system32\config\systemprofile\.android\avd\Gingerbread.avd\sdcard.img', aborting...
  [2011-05-28 11:44:27 - SDK Manager] could not write to 'C:\Windows\system32\config\systemprofile\.android\avd\Gingerbread.avd\sdcard.img', aborting...
  [2011-05-28 11:44:27 - SDK Manager] Failed to create the SD card.
  [2011-05-28 11:45:09 - HelloAndroid] Still no compatible AVDs with target 'Android 1.6': Aborting launch.
  [2011-05-28 11:45:09 - HelloAndroid] Performing com.androidbook.hello.HelloActivity activity launch
  [2011-05-28 11:45:11 - HelloAndroid] Launch canceled!
  </code></pre>
  
  <p>I notice that my packages are installed at:</p>
  
  <pre><code>C:\Program Files\Android\android-sdk
  </code></pre>
  
  <p>because thats what is says at the top of the Android SDK and AVD manager when the Installed Packages option is selected. But when I choose the Virtual Devices option, the location it is looking for the virtual devices in:</p>
  
  <pre><code>C:\Windows\system32\config\systemprofile\.android\avd. 
  </code></pre>
  
  <p>In the book that I'm following there is a screenshot of his SDK and AVD Manager looking for the virtual devices in a </p>
  
  <pre><code>C:\Documents and Setting\Dave\.android\avd
  </code></pre>
  
  <p>folder. Will it make any difference to me if I change where the Manager looks for this stuff? Can anyone tell me how I can do that?</p>
  
  <p>Grateful for any help on this. I just want to get cracking!</p>
  
  <p>Many thanks</p>