Adb server problem

by Atish » Thu, 18 Dec 2008 01:26:39 GMT


Sponsored Links
 Hi i am new to android.Sometimes while running the emulator i get this
error.I don't know what to do.I restart eclipse 3/4 times.Sometimes it
works sometimes it takes even 15/20 times.What is permanent solution
for this???i even tried kill adb server by adb kill-server.But it was
of no use.

Connection Failure when starting to monitor device 'emulator-5554' :
device (emulator-5554) request rejected:
[2008-12-17 18:13:30 - DeviceMonitor]Failed to start monitoring
emulator-5554
[2008-12-17 18:13:31 - DeviceMonitor]Adb connection Error:An existing
connection was forcibly closed by the remote host
[2008-12-17 18:13:32 - DeviceMonitor]Connection attempts: 1
[2008-12-17 18:13:34 - DeviceMonitor]Connection attempts: 2


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. how do you specify the name of the .apk file....

by default it looks like it's the name of your project -- if you want
it to be something else, there must be a way to do that...

tia.

-- 

2. cannot build any more...

used to be building fine, added some files, and now I'm running into
this when I run "ant release" from the command line...

dirs:
     [echo] Creating output directories if needed...

resource-src:
     [echo] Generating R.java / Manifest.java from the resources...

aidl:
     [echo] Compiling aidl files into Java classes...

compile:
    [javac] Compiling 1 source file to C:\workspace\SlackerRadioAndroid
\bin\classes

dex:
     [echo] Converting compiled files and external libraries into bin/
classes.dex...
    [apply]
    [apply] UNEXPECTED TOP-LEVEL ERROR:
    [apply] java.lang.OutOfMemoryError: Java heap space
    [apply]     at java.util.AbstractList.iterator(Unknown Source)
    [apply]     at com.android.dx.cf.code.Ropper.getAvailableLabel
(Ropper.java:378)
    [apply]     at com.android.dx.cf.code.Ropper.processBlock
(Ropper.java:902)
    [apply]     at com.android.dx.cf.code.Ropper.doit(Ropper.java:636)
    [apply]     at com.android.dx.cf.code.Ropper.convert(Ropper.java:
253)
    [apply]     at com.android.dx.dex.cf.CfTranslator.processMethods
(CfTranslator.java:252)
    [apply]     at com.android.dx.dex.cf.CfTranslator.translate0
(CfTranslator.java:131)
    [apply]     at com.android.dx.dex.cf.CfTranslator.translate
(CfTranslator.java:85)
    [apply]     at com.android.dx.command.dexer.Main.processClass
(Main.java:297)
    [apply]     at com.android.dx.command.dexer.Main.processFileBytes
(Main.java:276)
    [apply]     at com.android.dx.command.dexer.Main.access$100
(Main.java:56)
    [apply]     at com.android.dx.command.dexer.Main$1.processFileBytes
(Main.java:228)
    [apply]     at com.android.dx.cf.direct.ClassPathOpener.processOne
(ClassPathOpener.java:134)
    [apply]     at
com.android.dx.cf.direct.ClassPathOpener.processDirectory
(ClassPathOpener.java:190)
    [apply]     at com.android.dx.cf.direct.ClassPathOpener.processOne
(ClassPathOpener.java:122)
    [apply]     at
com.android.dx.cf.direct.ClassPathOpener.processDirectory
(ClassPathOpener.java:190)
    [apply]     at com.android.dx.cf.direct.ClassPathOpener.processOne
(ClassPathOpener.java:122)
    [apply]     at
com.android.dx.cf.direct.ClassPathOpener.processDirectory
(ClassPathOpener.java:190)
    [apply]     at com.android.dx.cf.direct.ClassPathOpener.processOne
(ClassPathOpener.java:122)
    [apply]     at
com.android.dx.cf.direct.ClassPathOpener.processDirectory
(ClassPathOpener.java:190)
    [apply]     at com.android.dx.cf.direct.ClassPathOpener.processOne
(ClassPathOpener.java:122)
    [apply]     at com.android.dx.cf.direct.ClassPathOpener.process
(ClassPathOpener.java:108)
    [apply]     at com.android.dx.command.dexer.Main.processOne
(Main.java:245)
    [apply]     at com.android.dx.command.dexer.Main.processAllFiles
(Main.java:183)
    [apply]     at com.android.dx.command.dexer.Main.run(Main.java:
139)
    [apply]     at com.android.dx.command.dexer.Main.main(Main.java:
120)
    [apply]     at com.android.dx.command.Main.main(Main.java:87)

-- 

3. are Animations always clipped to ViewGroup bounds?

4. How to draw a Bitmap Image?....

5. How to layout 3 ImageButton evenly distributed on a row

6. memory / resource leak...

7. How to layout 3 ImageButton evenly distributed on a row