For me, it seemed to be a damaged USB wire/ cable. I tried the toothpick trick, and still had the issue and then tried a different cable and it worked.
I tried the toothpick trick, but still had the same issue, then tried a new micro-USB cable and that seemed to solve the issue. My transfer speed seemed to increase as well, so if you are having trouble, try a different cable.