choosecombo is a bash function defined inside build/envsetup.sh, so you need to run envsetup.sh first.
Try this: $ cd <Your android root dir> # notice the space after the dot $ . build/envsetup.sh # choosecombo should now be defined $ choosecombo On Jan 9, 9:19 am, "[email protected]" <[email protected]> wrote: > Thank you. Can you please tell me where can I find the 'choosecombo' > script? > I did get the whole android source, i can't find the choosecombo > script. > > Thanks, > > On Dec 23 2008, 7:56 am, moontain <[email protected]> wrote: > > > Thanks David for the detailed informations, they are very useful. > > > I tried following steps and the issue disappears. > > > $ . ./build/envsetup.sh > > $ choosecombo > > ./out/host/darwin-x86/bin/emulator -system ./out/target/product/generic > > -kernel ./prebuilt/android-arm/kernel/kernel-qemu -skindir > > ./development/emulator/skins -skin HVGA > > > Regards, > > Moontain > > > 2008/12/23 David Turner <[email protected]> > > > > this is part of current changes to the SDK and the way multiple > > > configurations are going to be supported concurrently in the near future. > > > > if ANDROID_PRODUCT_OUT is defined in your environment, it should pick > > > built > > > system images automatically for you (you need to build these before > > > launching the emulator though). Simply invoking a command like > > > "choosecombo" > > > should be enough to set ANDROID_PRODUCT_OUT > > > > if ANDROID_PRODUCT_OUT is not defined, then the emulator assumes you are > > > using the SDK only (outside of the Android source tree) and expect to be > > > given the name of a "virtual machine". > > > > An Android Virtual Machine is a recently introduced concept, it > > > corresponds > > > to a directory containing persistent images for the /data partition, the > > > /cache partition, option mutable and persistent system.img etc... > > > > You can create/list/delete virtual machines on your host through the new > > > "android" program. > > > > Alternatively, if you don't have a virtual machine created, and > > > ANDROID_PRODUCT_OUT is not defined, you can get by by specifying on the > > > command-line all disk images to use with -image, -kernel, -ramdisk, -data, > > > etc... > > > > On Sun, Dec 21, 2008 at 1:50 PM, moontain <[email protected]>wrote: > > > >> Hi, > > > >> I downloaded the platform source code and completed a build. > > >> When I trying to run the emulator with following command,error occurs. > > >> $ ./out/host/darwin-x86/bin/emulator -system > > >> ./out/target/product/generic -kernel > > >> ./prebuilt/android-arm/kernel/kernel-qemu -skindir > > >> ./development/emulator/skins > > > >> Below is the error message. > > > >> emulator: ERROR: you must provide the name of a virtual machine to start > > >> the emulator. > > >> please see -help-vm for details. > > > >> what's wrong with the command? what's the name of the virtual machine in > > >> the case? > > > >> I'm using Mac OS X v 10.4.11, XCode v2.5 > > > >> Regards, > > >> Moontain --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

