How To Start Android Emulator using ANT

Posted: August 13, 2009 in Android, Java, Mobile
Tags: , ,

To start the Android Emulator and proceed to the next ant task, this should work:

<target name="start.emulator">
				<exec executable="${emulator}">
					<arg value="-avd"/>
					<arg value="${my-avd}"/>


It should work. Now this is the emulator in the released SDK as when you build the sdk/emulator from source its creating
its own AVD and configuration file entry to use that avd. But for just the released SDK/emulator it should work.

Reblog this post [with Zemanta]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s