Android – com.android.ddmlib.SyncException

By -

Problem: com.android.ddmlib.SyncException: Too many open files
Solution:

During application development and testing the same on the device, I have faced this exception: com.android.ddmlib.SyncException: Too many open files

I have tried to find out the possible solution to resolve the above exception, so i am not sure about the solution but i got the StackOverflow link first and tried the same and i have received the solution. I think it may be helpful to others as well So let me sort out the possible solution for this exception:

  1. This may be some sort of problem with USB sync when debugging in my device. So Switch DEBUG USB off and on again.
  2. You can run something like “Advanced Task Killer” it will close many application runnung in the background
  3. Unplug the phone from the USB cable and then plug it in again
  4. Restart your phone as this exception may be due to a Memory leak problem.

 
 

Paresh Mayani

Lazy android developer, exploring the horizon of android development since 7 years, currently working as a Technical Lead - Android at Simform Solutions, India. Former Application Architect at KarConnect. He is the Head/Organizer of Google Developers Group (GDG), Ahmedabad

Loading Facebook Comments ...
Loading Disqus Comments ...