You can make it whatever you want, but yes, I would recomment you point it to C:\Users\Public\ so that it reuse the already existing .android/ folder. (don't make it point to C:\Users\Public\.android as it will create another .android folder inside it)
Xav On Sat, Apr 25, 2009 at 9:31 AM, Andrex <[email protected]> wrote: > > Yeah I had read about the guy with the mixed up D and C folders. > > My HomePath is \Users\<Name>, so I guess somewhere down the line I did > mess things up a little. Can the ANDROID_SDK_HOME variable be > anywhere, even the old .android/ folder? (C:\Users\Public\.android) > > On Apr 25, 4:16 am, Xavier Ducrohet <[email protected]> wrote: >> Is C:\Users\Public\ your real HOME folder? >> >> If you go in a command prompt and run "set" what are the values of the >> various env variable representing your HOME (specifically look for >> HOMEDRIVE, HOMEPATH, LOCALAPPDATA, USERPROFILE) >> >> Another user on these groups had moved his HOME folder but the env >> variable still pointed to the default location, which is what the >> emulator uses. >> Somehow though, Java (the "android" tool is a java tool) used the new >> HOME location, and thus the emulator looked for AVDs in a different >> folder than where they were created. >> >> If this is the case for you as well, you can define a new env variable >> called ANDROID_SDK_HOME pointing to a folder of your choice. This will >> override the default behavior of the "android" tool and of the >> emulator (as well as DDMS), and create a .android/ folder in this >> folder of your choice, and in it, the avd/ folder. >> >> Xav >> >> >> >> >> >> On Fri, Apr 24, 2009 at 10:13 PM, Andrex <[email protected]> wrote: >> >> > I've been developing for android since the first SDK came out, and >> > have downloaded every early preview one after that- m3, m5, 0.9, 1.0, >> > 1.1, and now the 1.5pre. This latest one is the only one to give me >> > trouble. >> >> > When I first tried to launch a simple program, the error "Failed to >> > find an AVD compatible with target 'Android 1.5'. Launch aborted." >> > popped up. So, I used <code>android create avd -n my_avd -t 2</code>. >> > When the prompt "Do you wish to create a custom hardware profile [no]" >> > came up, I just hit enter (and once I typed "no" and hit enter). >> >> > Great. But then when I reran the program, it gave me the exceptions >> > (as it wasn't in red): >> >> > <code>[2009-04-25 01:00:24 - Emulator] emulator: ERROR: unknown >> > virtual device name: 'my_avd' >> > [2009-04-25 01:00:24 - Emulator] emulator: could not find virtual >> > device named 'my_avd'</code> >> >> > I moved the avd files around to various places- the tools folder, the >> > project folder in the Eclipse workplace folder, the SDK director >> > itself... no dice. When I delete the AVD, it gives me the first error >> > again. >> >> > Thus, I completely wiped Android and Eclipse from my system, and re- >> > installed fresh (this means the Eclipse install, the Eclipse and >> > Android workspaces, the SDK, etc.) Only thing I didn't delete was the >> > shortcuts. But I was back at square one again. >> >> > So, I turn to you, ever eager-to-help Google Groups. Some technical >> > info that might be of help: >> >> > Windows Vista 32-bit >> > Eclipse 3.4 Ganymede >> > Android SDK 1.5pre >> >> > Android Workspace: C:\Users\Public\.android >> > AVDs Created At: C:\Users\Public\.android\avd >> > Eclipse Workspace: C:\Users\Public\Eclipse Workspace >> >> > Eclipse Directory: C:\Program Files\Eclipse >> > SDK Directory: C:\Program Files\Eclipse\android-sdk-windows-1.5_pre >> >> -- >> Xavier Ducrohet >> Android Developer Tools Engineer >> Google Inc. > > > -- Xavier Ducrohet Android Developer Tools Engineer Google Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

