Android : DeviceMonitor] Sending Tracking request failed! Error


Posted on : Wed, 15th Apr 15 01:47 pm (Updated on : Wed, 15th Apr 15 01:47 pm) UTC
Author : Code2care
100+ votes

[2015-04-04 21:46:14 - DeviceMonitor] Sending Tracking request failed!
[2015-04-04 22:20:47 - ddmlib] Broken pipe

java.io.IOException: Broken pipe
   at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
   at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
   at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
   at sun.nio.ch.IOUtil.write(IOUtil.java:65)
   at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:470)
   at com.android.ddmlib.JdwpPacket.writeAndConsume(JdwpPacket.java:213)
   at com.android.ddmlib.Client.sendAndConsume(Client.java:642)
   at com.android.ddmlib.HandleHeap.sendREAQ(HandleHeap.java:348)
   at com.android.ddmlib.Client.requestAllocationStatus(Client.java:488)
   at com.android.ddmlib.DeviceMonitor.createClient(DeviceMonitor.java:831)
   at com.android.ddmlib.DeviceMonitor.openClient(DeviceMonitor.java:799)
   at com.android.ddmlib.DeviceMonitor.processIncomingJdwpData(DeviceMonitor.java:759)
   at com.android.ddmlib.DeviceMonitor.deviceClientMonitorLoop(DeviceMonitor.java:648)
   at com.android.ddmlib.DeviceMonitor.access$100(DeviceMonitor.java:44)
   at com.android.ddmlib.DeviceMonitor$3.run(DeviceMonitor.java:576)



Advertisements





I received the above stack-trace in Console (Android ADT for Eclipse IDE on Mac OS X 10.10 Yosemite) while i was running an App on a device. I noticed that IntelliJ Android Studio IDE was also running alongside, when i closed Android Studio the error did not appear again.

Update : I got the same error message again, this time i was only working on Eclipse, it seems like the USB Cord was disconnected causing this issue. Restarting the IDE resolved the issue this time.

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +