Starting an AVD from a custom location

by Patrick » Mon, 28 Jun 2010 16:55:28 GMT


Sponsored Links
 Hallo!

I want the android emulator to start a AVD from a non default location
using the following command:
./android-sdk-linux_86/tools/emulator -sysdir /opt/
development/.android/avd/ -avd AVD1.6_HTC_SD

The .android directory is a copy from the default .android directory
from my homefolder...

The emulator states the following:
emulator: ERROR: unknown virtual device name: 'AVD1.6_HTC_SD'
emulator: could not find virtual device named 'AVD1.6_HTC_SD'

Any ideas?

--



Starting an AVD from a custom location

by Xavier Ducrohet » Tue, 29 Jun 2010 03:58:50 GMT


 -sysdir cannot be used with AVDs.

you can overide the location of the .android folder by setting an env
var call ANDROID_SDK_HOME.

In your case, you should try:
$ ANDROID_SDK_HOME=/opt/development emulator -avd AVD1.6_HTC_SD

Xav



>


Sponsored Links


Other Threads

1. repo hangs on every single project

Trying to download the 1.6_r2 source... I've successfully synced 2.0 and main, 
so I know repo etc are installed correctly. This is on Mac OS X 10.6.2 (on an 
MBP). I have plenty of free disk space. Python 2.6.1 (r261:67515, Jul  7 2009, 
23:51:51).

So I start with:

[/Projects/android-1.6_r2] % repo init -u 
git://android.git.kernel.org/platform/manifest.git -b android-1.6_r2

Getting repo ...
   from git://android.git.kernel.org/tools/repo.git
remote: Counting objects: 982, done.
remote: Compressing objects: 100% (392/392), done.
remote: Total 982 (delta 615), reused 919 (delta 570)
Receiving objects: 100% (982/982), 300.07 KiB, done.
Resolving deltas: 100% (615/615), done.
 * [new branch]      master     -> origin/master
 * [new branch]      stable     -> origin/stable
 * [new tag]         v1.6.9.1   -> v1.6.9.1
 * [new tag]         v1.0       -> v1.0
 * [new tag]         v1.0.1     -> v1.0.1
 * [new tag]         v1.0.2     -> v1.0.2
 * [new tag]         v1.0.3     -> v1.0.3
 * [new tag]         v1.0.4     -> v1.0.4
 * [new tag]         v1.0.5     -> v1.0.5
 * [new tag]         v1.0.6     -> v1.0.6
 * [new tag]         v1.0.7     -> v1.0.7
 * [new tag]         v1.0.8     -> v1.0.8
 * [new tag]         v1.0.9     -> v1.0.9
 * [new tag]         v1.1       -> v1.1
 * [new tag]         v1.2       -> v1.2
 * [new tag]         v1.3       -> v1.3
 * [new tag]         v1.3.1     -> v1.3.1
 * [new tag]         v1.3.2     -> v1.3.2
 * [new tag]         v1.4       -> v1.4
 * [new tag]         v1.4.1     -> v1.4.1
 * [new tag]         v1.4.2     -> v1.4.2
 * [new tag]         v1.4.3     -> v1.4.3
 * [new tag]         v1.4.4     -> v1.4.4
 * [new tag]         v1.5       -> v1.5
 * [new tag]         v1.5.1     -> v1.5.1
 * [new tag]         v1.6       -> v1.6
 * [new tag]         v1.6.1     -> v1.6.1
 * [new tag]         v1.6.2     -> v1.6.2
 * [new tag]         v1.6.3     -> v1.6.3
 * [new tag]         v1.6.4     -> v1.6.4
 * [new tag]         v1.6.5     -> v1.6.5
 * [new tag]         v1.6.6     -> v1.6.6
 * [new tag]         v1.6.7     -> v1.6.7
 * [new tag]         v1.6.7.1   -> v1.6.7.1
 * [new tag]         v1.6.7.2   -> v1.6.7.2
 * [new tag]         v1.6.7.3   -> v1.6.7.3
 * [new tag]         v1.6.7.4   -> v1.6.7.4
 * [new tag]         v1.6.7.5   -> v1.6.7.5
 * [new tag]         v1.6.8     -> v1.6.8
 * [new tag]         v1.6.8.1   -> v1.6.8.1
 * [new tag]         v1.6.8.10  -> v1.6.8.10
 * [new tag]         v1.6.8.11  -> v1.6.8.11
 * [new tag]         v1.6.8.2   -> v1.6.8.2
 * [new tag]         v1.6.8.3   -> v1.6.8.3
 * [new tag]         v1.6.8.4   -> v1.6.8.4
 * [new tag]         v1.6.8.5   -> v1.6.8.5
 * [new tag]         v1.6.8.6   -> v1.6.8.6
 * [new tag]         v1.6.8.7   -> v1.6.8.7
 * [new tag]         v1.6.8.8   -> v1.6.8.8
 * [new tag]         v1.6.8.9   -> v1.6.8.9
 * [new tag]         v1.6.9     -> v1.6.9
Getting manifest ...
   from git://android.git.kernel.org/platform/manifest.git

At this point it sits there and python sucks ~100% cpu. If I ctrl-C and repo 
sync again, it seems to download the next package, but then stops again on the 
next Initializing project... 

It doesn't do this in main where I have a previous full sync. Oops, I spoke too 
soon. I'm seeing the same thing now where it stops at:
Fetching projects:   6% (10/158)  
Initializing project device/htc/common ...

What's the problem here?

Thanks,
--E

-- 

2. any android developers from Ukraine?

Hi!

any android developers from Ukraine here?

we just launched The iUkraine.org (catalog of trusted software
developers for Android and iPhone - http://iukraine.org) and looking
to collect all contacts of developers.

So you are interested and from Ukraine - please send us info about
your team at upd...@iukraine.org.

Thanks!

-- 

3. force close saat booting

4. Set Spinner select to 'none' ?

5. How To find the path and call the intent of a newly installed application..

6. unable to un-load the Bluetooth module

7. RE : Droid 2.1-update1 EGL10.eglCreateWindowSurface() deadlocks intermittently