
Settings > Applications > Development > USB debuggingĪnd everything works now on Eclipse and Mac OS X 10.7.3. Nexus One here, CyanogenMod 7 (Android 2.3.7). That was a few years ago, and maybe they've fixed it, or just did some things to get around it in the usual cases and the reinstall-as-part-of-development is not a case that it addresses. one brute workaround, based on some old posts, seems to be to restart the phone, and one google engineer suggested doing it twice, the second time before it goes into sleep mode the first time (details on why in the post). I manually tried to install the app when getting the "sync" error above and that's when I got the "too many open files" clue. This may also be related to a "too many open files" issue. I'm not sure what the underlying problem is.

Hopefully it keeps working! These fixes really seem like silly hacks. However, disabling USB debugging on the phone and then re-enabling it has worked so far. Sometimes disconnecting and reconnecting the cord worked but then it stopped working completely. I was having exactly the same problem, but I already had my phone connected to the computer's USB port.
