Running the Emulator on Early Look 1.5 SDK

by Pd » Tue, 14 Apr 2009 09:14:01 GMT

Sponsored Links

Noticed the emulator now needs a -avd parameter to run.  I had a look at 
the Early 1.5 docs but there's no mention of the -avd startup option as 
yet. All you need to do is create a virtual device.

cd to the tools directory.  on my linux box this was:  

For version 1.1 use something like

./android create avd --target 1 --name NormalVM01

For version 1.5 ( Cupcake ) use

./android create avd --target 2 --name CupcakeVM01

the naming can be anything you like.  Then run the emulator with ( on 
linux atleast ):

./emulator -avd CupcakeVM01

Hope this helps some  :-)


Running the Emulator on Early Look 1.5 SDK

by Xavier Ducrohet » Tue, 14 Apr 2009 09:21:22 GMT

 More information about AVDs, how to create or use them, is available
at #avd


Xavier Ducrohet
Android Engineer, Google.


Sponsored Links

Running the Emulator on Early Look 1.5 SDK

by Raphael » Tue, 14 Apr 2009 13:05:23 GMT


You can also just write:

 ./emulator @CupcakeVM01

This is the syntax used in the document that Xavier pointed out.


Running the Emulator on Early Look 1.5 SDK

by Pd » Tue, 14 Apr 2009 15:14:31 GMT

 Thank you!


Other Threads

1. run-time bytecode generation and Android 2.x

Hi everybody,

I'm experimenting with run-time bytecode generation on android to get
some of the more dynamic languages to work.
For now, I have a very crude approach that works in a proof-of-concept

I compile JVM class files to dex on the phone via a call to;

While this is terribly inefficient, it works - but only on Android 1.5
and 1.6, not on 2.x.
E.g. on Android 2.0 I get

W/System.err( 5550): trouble processing:
W/System.err( 5550): invalid
constant pool index 0000
W/System.err( 5550): ...while parsing attributes[0]
W/System.err( 5550): ...while parsing Code attribute at offset
W/System.err( 5550): ...while parsing attributes[0]
W/System.err( 5550): ...while parsing methods[2]
W/System.err( 5550): ...while parsing lang/core$blah__1.class
W/System.err( 5550): ...while processing lang/core$blah__1.class

Why doesn't this work on Android 2.x?


2. SQLite3: not found

Dear all,

I would like to use the SQLite-Database for a project. I use my
android phone (version 2.1) for the tests.

The problem is that I can't access the DB files. If I create a DB and
check it with Eclipse and DDMS, the 'Data' - folder is allways empty.
On DB creation I receive no error...

I think, the real problem is on the SQLite-DB:
When I start the SQLite - Shell (adb -s <device> shell) and enter
something like "SQLite3 test.db" the follwing message is displyed:
"SQLite3: Not found".

Is it possible that on my android the SQLite-DB is missing? Do you
know where this comes from?

Thank you for your help.

Best regards,


3. Getting appWidget position/coordinates on homescreen

4. SOLVED - Eclipse problem with "Project contains errors" and nothing is obviously wrong

5. XPathResult undefined in android browser

6. How to detect a "full boot" of an emulator

7. Inside TabActivity, how to get the instance of the current tab activity?