10 messages in com.googlegroups.android-beginnersRe: [android-beginners] it seems too ...
FromSent OnAttachments
colin19 Dec 2007 23:24 
Digit20 Dec 2007 03:27 
colin20 Dec 2007 14:26 
Digit21 Dec 2007 02:00 
snowtiger22 Dec 2007 02:07 
D. Qiu22 Dec 2007 17:53 
D. Qiu22 Dec 2007 18:40 
colin23 Dec 2007 17:31 
Digit24 Dec 2007 03:17 
Danie Brink24 Dec 2007 03:31 
Subject:Re: [android-beginners] it seems too many emulator instances are running on this machine. Aborting
From:Digit (digi@gmail.com)
Date:12/20/2007 03:27:20 AM
List:com.googlegroups.android-beginners

hello,

when the emulator starts, it tries to bind to local TCP ports 5554 and 5555 (these are used for the control console and ADB). If this doesn't work, because at least one of the ports is already in use, it tries 5556/5557, then 5558/5559, etc... until it reaches 5584/5585. if this final port pair cannot be bound, then the emulator stops and dumps the dreaded "it seems too many emulator instances..." message.

this scheme allows for up to 16 concurrent emulator instances on a given development machine; taht is, unless these ports are already bound to a different program.

on Linux, you should be able to type "netstat -a -p tcp -n"; this will list all connected/bound TCP sockets on your machine, with the PID of the program that uses them.

could you send us the output of this command (only the first lines that start with "tcp" are needed) ?

On Dec 20, 2007 8:24 AM, colin <Mr.C@gmail.com> wrote:

Hi

I've just installed android on a linux box and I get the message in the subject line when I try to run the emulator. I get the same message when I try running an activity from the idea-android plugin. Here is the output of emulator -verbose Does anyone have any idea how I can get around this.

Colin

colin@warthog ~ $ emulator -verbose emulator: Assuming: -sysdir /home/colin/apps/android_sdk_linux_m3- rc37a/tools/lib/images/ emulator: autoconfig: -kernel /home/colin/apps/android_sdk_linux_m3- rc37a/tools/lib/images/kernel-qemu emulator: autoconfig: -ramdisk /home/colin/apps/android_sdk_linux_m3- rc37a/tools/lib/images/ramdisk.img emulator: autoconfig: -image /home/colin/apps/android_sdk_linux_m3- rc37a/tools/lib/images/system.img emulator: autoconfig: -skindir /home/colin/apps/android_sdk_linux_m3- rc37a/tools/lib/images/skins emulator: autoconfig: -data /home/colin/.android/userdata.img emulator: warning: cannot load emulator configuration at '/home/ colin/.android/emulator.cfg'

emulator: parsing built-in skin layout file (size=3114) emulator: skin network speed: 'full' emulator: skin network delay: 'none' emulator: argv[00] = "emulator" emulator: argv[01] = "-kernel" emulator: argv[02] = "/home/colin/apps/android_sdk_linux_m3-rc37a/ tools/lib/images/kernel-qemu" emulator: argv[03] = "-initrd" emulator: argv[04] = "/home/colin/apps/android_sdk_linux_m3-rc37a/ tools/lib/images/ramdisk.img" emulator: argv[05] = "-nand" emulator: argv[06] = "system,size=0x4200000,initfile=/home/colin/apps/ android_sdk_linux_m3-rc37a/tools/lib/images/system.img" emulator: argv[07] = "-nand" emulator: argv[08] = "userdata,size=0x4200000,file=/home/ colin/.android/userdata.img" emulator: argv[09] = "-serial" emulator: argv[10] = "android-modem" emulator: argv[11] = "-append" emulator: argv[12] = "qemu=1 console=null android.checkjni=1 keycharmap=qwerty2 android.ril=ttyS0" emulator: reading read-only file '/home/colin/apps/ android_sdk_linux_m3-rc37a/tools/lib/images/system.img' (67584.0 KB) emulator: opening read/write file '/home/colin/.android/userdata.img' it seems too many emulator instances are running on this machine. Aborting