I got this same advice on an Android forum and it solved the problem. My Nexus 7 USB was set to "Charge only".