I am developing Android with Eclipse 3.6.2, OS X 10.6.7 and Samsung Galaxy Tab.
Everything works fine except every 15 or 20 minutes, Settings | Applications | Development | The USB debugging checkbox "cancels" itself. This means that I need to disconnect the USB cable and return to the setting, check the box again, plug the cable back in, and I am good to go.
What I would like to know is if there is some way to make this checkbox “sticky” (I suppose it should probably be), but I could not figure out under what circumstances cause the “unmarking” to occur ) I tried several USB / sdcard / Development settings and have not yet found the “sticky bit”.
I am new to Android, so I hope there is "you forgot to make X too" ...
EDIT:
Perhaps this is due to a USB Mass Storage message that appears after 10 minutes or so? I just noticed the message "USB Connected: you connected your phone to the computer via USB. Select" Mount "if you want to copy files between your computer and your phones SD card."
source share