On Mon, Apr 6, 2009 at 4:11 AM, Jean-Baptiste Queru <j...@android.com> wrote:
> > This is definitely new in cupcake - it's part of the work that has > been done by the tools team to allow a single SDK to work with > multiple target configurations, and the visible effect is that > launching the emulator outside of either the source tree or a > fully-configured SDK distribution might actually be tricky. > Actually, even launching from a fully configured SDK distribution will display this error message. For a variety of reasons, you can't expect the mere "emulator" command to launch the emulator anymore, unless you are in the Android build system. What you need to do inste'ad is create one or more Android Virtual Device (AVD) instance(s), then specify which one you want to run with "emulator -avd <name>" or the equivalent "emulator @<name>" Avds are created by the new companion tool named "android". > (sadly, I don't know what exact parameters need to be passed to make it > work). > Well, you could try reading the content of -help-avd as suggested by the error message :-) For the record, the "avd" is what was called a "vm" until recently in the Cupcake sources; we changed the name because it was a bit confusing. Some people didn't immediately understand the distinction between the "emulator VMs" and the "Dalvik VMs"; it even resulted in ambiguous emails sometimes where it was hard to know what was being discussed. At least, the term "avd" is not overtly used and totally non-ambiguous. > > JBQ > > On Sun, Apr 5, 2009 at 6:24 PM, Mark Murphy <mmur...@commonsware.com> > wrote: > > > > Ivan Soto wrote: > >> I've no idea how to run the emulator on Mac. Any advice? > >> > >> /Double-O:~ ivan$ > >> /Users/ivan/Downloads/android-sdk_eng.al_mac-x86/tools/emulator ; > exit;/ > >> /emulator: ERROR: You did not provide the name of an Android Virtual > >> Device/ > >> /with the '-avd <name>' option. Read -help-avd for more > information./ > >> > >> /If you *really* want to *NOT* run an AVD, consider using '-data > >> <file>'/ > >> /to specify a data partition image file (I hope you know what you're > >> doing)./ > > > > Hmmm...that might be new. Just running emulator worked for me a few > > weeks ago with 1.1r1, when I had to use OS X when delivering some > training. > > > > -- > > Mark Murphy (a Commons Guy) > > http://commonsware.com | http://twitter.com/commonsguy > > > > Android App Developer Training: http://commonsware.com/training.html > > > > > > > > > > > -- > Jean-Baptiste M. "JBQ" Queru > Android Engineer, Google. > > Questions sent directly to me that have no reason for being private > will likely get ignored or forwarded to a public forum with no further > warning. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---