Hi All,

So previously, thanks to help on this forum I worked out how to
package up an app with emulator and send it as a bundle for a non-tech
person to check out on their desktop:

http://groups.google.com/group/android-developers/browse_thread/thread/2454e80af0efd4b8/2ba19ee202c7e0c9?q=#2ba19ee202c7e0c9

The key was to create a file called run.sh like this:

#!/bin/bash

./emulator -sysdir . -datadir . -skindir . -skin HVGA -sdcard
sd256m.img

and copy the avd images into the current directory, along with
emulator executable, skins and an sdcard image.  That was back on SDK
1.5, and for OSX

Now here we are, new year and all, with SDK 2.1, and I need to do the
same thing for a Windows platform.  I've got most of the way there
with a run.bat like this:

set ANDROID_SDK_ROOT=.\android-sdk-windows

emulator.exe -avd 1.5 -sdcard sdcard1.iso

and I've dumped the entire android windows sdk into the package.
However I can't seem to get the avd to be in the same package.  On
windows the avd by default gets created under Document and Settings.
The same files like userdata.img and userdata-qemu.img are there, and
things run fine if I set create the avd separately, but that is an
extra step for the non-tech user, and I was hoping to get this into a
single bundle, that runs out of the box so to speak.

I've tried all sorts of variants of:

emulator.exe -avd 1.5 -sdcard sdcard1.iso -sysdir . -datadir .

to no avail, and I keep getting the error:

emulator: ERROR: unknown virtual device name "1.5"

Has anyone had any luck getting the latest SDK to work with a non-
standard avd location on Windows?

Many thanks in advance
CHEERS> SAM

-- 
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

Reply via email to