eclipse MotoG 中的 Android 调试
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21852513/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Android Debugging in MotoG
提问by Prasad
Bought the new Moto G XT1033last week, phone's working fine but as a developer I am finding it difficult in Debug mode,Even after Enabling USB Debugging option in Developer options...
上周购买了新的Moto G XT1033,手机运行良好,但作为开发人员,我发现在调试模式下很困难,即使在开发人员选项中启用 USB 调试选项...
Error coming as necessary USB driversnot found ... Checked in Motorola site too, not available.
由于找不到必要的USB 驱动程序而出现错误...也在摩托罗拉网站上检查过,不可用。
Didn't work in Both the Windows / Linux Platform
不适用于 Windows / Linux 平台
Suggest me where to findthe necessary drivers and how to install the necessary driverfor my MotoG XT1033, which enables me to work in Debug modein Eclipse IDE.
建议我在哪里可以找到必要的驱动程序以及如何为我的MotoG XT1033安装必要的驱动程序,这使我能够在 Eclipse IDE 中以调试模式工作。
回答by The Tokenizer
I found the Drivers
我找到了驱动程序
When you download it just delete the img extention and run it.
当您下载它时,只需删除 img 扩展并运行它。
回答by micajoeh
On the moto G, ( If you're running KitKat, not too sure about jellybean) go to settings, about Phone, And then tap build number repediately until it says you're a developer on the screen. Under the main settings menu, there should be an option for developer mode now. Hopefully that works, it did it for me.
在 moto G 上,(如果您运行的是 KitKat,对 jellybean 不太确定)转到设置,关于电话,然后重复点击内部版本号,直到屏幕上显示您是开发人员。在主设置菜单下,现在应该有一个开发者模式选项。希望这有效,它为我做到了。
回答by user3840311
I've had a similar problem, been uninstalling and reinstalling drives for the last 2 hours. The above recommendation of:
我遇到了类似的问题,过去 2 小时一直在卸载和重新安装驱动器。以上推荐:
Settings>> Storage>> Open Top right corner Action bar Menu>> USB computer connection>> Check Camera(PTP)
设置>>存储>>打开右上角操作栏菜单>> USB计算机连接>>检查相机(PTP)
Finally is what prompted my phone to accept a PCs (tried with two) RSA key for USB debugging.
最后是促使我的手机接受用于 USB 调试的 PC(尝试使用两台)RSA 密钥的原因。
回答by John Stack
I still had to restart Eclipse for it to wake up.
我仍然必须重新启动 Eclipse 才能唤醒它。
So, to summarize, tap tap tap tap under Settings>Phone>Build. Hook up device. Pull Down USB device from header. Select Camera PTP. An RSA Prompt comes up. Just press ok.
因此,总而言之,点按“设置”>“电话”>“构建”下的“点按”。连接设备。从接头下拉 USB 设备。选择相机 PTP。出现 RSA 提示。只需按确定。
Relaunch Eclipse if you need to. (I had to).
如果需要,请重新启动 Eclipse。(我不得不)。
Other phones - like an experimental Huwei for Turkcell I was using last year required the dev to go to the phone and punch in a key sequence.
其他手机——比如我去年使用的用于 Turkcell 的实验性 Huwei,需要开发人员去手机并输入一个按键序列。
I think this is going to become more common as time goes on.
我认为随着时间的推移,这种情况会变得更加普遍。
回答by Cristian Iacobanu
Try downloading from: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481Worked for me.
尝试从以下位置下载: https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481对我来说有效。
回答by John
Go to
去
Settings >> Storage >> Open Top right corner Action bar Menu >> USB computer connection >>Check Camera(PTP)
The drivers will be installed.
将安装驱动程序。