Well the emulator is C app and the android tool is a Java app so they have slightly different ways to get your user profile directly.
Out of curiosity, if you do a "set" under a command-prompt, what is your USERPROFILE variable? Your best solution is to define a global environement variable ANDROID_SDK_HOME. To do that: Start > Control Panel > System > Advanced System Settings > Environment Variables. Create a new user one called "ANDROID_SDK_HOME" and set it to the path where you want .android to be created, e.g. maybe "d:\" R/ On Wed, Oct 28, 2009 at 6:10 AM, westmeadboy <westmead...@yahoo.co.uk> wrote: > > This is a problem where the .android folder is being placed in the > wrong location on Vista. > > When I do this: > > android create avd -n android1.5 -t 2 > > the .android folder is placed at d:\.android. > > This is the same when using the Eclipse ADT plugin. > > However, the documentation states: > > "By default, the android tool creates the AVD directory inside ... C: > \Users\<user>\.android\ on Windows Vista." > > So something is clearly going wrong. > > I assume its because I have relocated most of my special folders like > Desktop and Documents to the d:\ drive. > > When I then do: > > android list avds > > it correctly shows the avd I have just created. > > However, if I try to run the emulator then the avd cannot be found. > > My workaround for this is to copy the d:\.android folder to C:\Users > \<user>\.android > > In short, it looks as though the emulator and the android command are > using different logic to work out the default .android location. > > I've tested this using the 1.5 and 2.0 SDKs. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---