I have it work like this (with building SDK):

$ [Path to Android]/out/host/linux-x86/bin/emulator -system [Path to
Android]/out/target/product/generic -kernel [Path to Android]/prebuilt/
android-arm/kernel/kernel-qemu -data [Path to Android]/out/target/
product/generic/userdata-qemu.img

You should make a copy of the original userdata.img to userdata-
qemu.img pointed by the -data argument.

On 12月23日, 上午11時39分, malmeida <[email protected]> wrote:
> I 'solved' the problem with the following:
>
> 1. cd <root dir>; make sdk
>     If you get an error about javadoc versions, have a look at the
> following thread:
>    http://groups.google.com/group/android-framework/browse_thread/thread...
>
> 2. unzip the sdk zip
>
> 3. cd <tools dir>; ./android --list target
>     This will list the available 'targets'. There seems to be a single
> 'target', which has id 1.
>
> 4. ./android --create --target 1 --name myconfig
>      This will create a vm named 'myconfig' that corresponds to target
> 1. This vm name can be used to start the emulator:
>
> 5. ./emulator -vm myconfig
>
> Does anyone know if this will be the only possible way to run the
> emulator from now on? Will we ever be able to run the emulator
> straight from the output of make without having to generate the full
> sdk?
>
> Marcelo
>
> On Dec 22, 8:09 pm, malmeida <[email protected]> wrote:
>
> > I tried that and the problem remains.
>
> > On Dec 22, 4:06 pm, Disconnect <[email protected]> wrote:
>
> > > Run:
> > > . ./build/envsetup.sh
> > > emulator
>
> > > On Sun, Dec 21, 2008 at 7:50 AM, 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to