问题
I tried to search if there are any suggestions but couldn't find enough hence this question to help me out.
I've installed Motorola USB Driver and enabled USB Debugging mode as well with MTP enabled.
The device shows as available in Eclipse for less than a minute and after that it gets back to offline mode. I tried to do ADB command like Kill-server and start-server but there is NO effect.
And it comes back to online after so many ON/OFFs and disable/enable the USB debugging/ disconnecting and reconnecting the USB cable or so again and after all these efforts, the device again stays in debug mode for the same <<1 min.
I also tried it with PTP mode as well but no use. Is this a known issue with MotoG or Am I doing something wrong?
My settings are like this under USB Debugging:
- Stay awake - On
- USB debugging - On
- Allow mock locations - On
Appreciate if somebody can guide me which will enable me to work with my MotoG and Android Programming...
回答1:
As suggested by Michael, I've tried with a different USB cable and it looks stable as of now. Let me observe the behavior for a day before I conclude that it's working.
Unfortunately, While purchasing Moto G, it doesn't come out with a USB Cable as part of the accessories and hence we have to depend on market available cables.
As of now, I'm trying with a USB Cable which has come along with Sony Xperia.
Updating the answer:
After 24 hours of continuous usage - my MotoG runs like a charm in USG Debugging mode. Hence, accepting it as an answer in Windows 7 64 bit.
I'll switch to Linux soon...as per other suggestion.
来源:https://stackoverflow.com/questions/24177366/moto-g-usb-debugging-issues-with-windows-7-64bit