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
[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. Monkeyrunner extension library

FYI, for monkeyrunner users, check out which is an
extension to the library -

usage :
moet -d android  [-os os]  [-ic] [-res resolution] [-ic] [-s serial]
For interactive mode,   use -i
For image capture mode, use -c

available android commands:

enter(string) # supports spaces in strings
scroll('up'/'down'/'left'/'right', num)
back(), home(), menu(),
record(), playback()

touch(x,y), drag(fromX, fromY, toX, toY)
touch('x%','y%'), drag('fromX%', 'fromY%', 'toX%', 'toY%')

connect(serial), getDevice(), launch(appActivity)


2. I'm trying to build Library( that works on emulator and target(Nexus s).

Hi. I'm trying to build a library(customized which work
on not only emulator but also target(Nexus s).

If I build with lunch generic option it works on emulator but nexus s
occur below linking error.

04-28 18:02:49.900: ERROR/AndroidRuntime(12194): Caused by:
java.lang.UnsatisfiedLinkError: Cannot load library:
74 cannot locate '__aeabi_f2uiz'...

If I build with lunch crespo option it works on nexus s but emulator
occur linking error.

Is there a way to solve this problem? Or Do I have to build separately?

Please Let Me Know asap!!!

PS) For the Froyo, replacing libstlport to static solve this problem.


3. Custom view and horizontal scrolling

4. Audio input funciton via 3.5mm / headphone jack?

5. Notify when media file is inserted in MediaStore

6. adb cannot detect device

7. how to use scrollview in java code.