将我的 android 设备连接到 eclipse
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/17483877/
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
Connecting my android device to eclipse
提问by user2125722
I can't get Eclipse to detect my Xperia E. I switched on the USB Debugging, tried adb kill-server and start server, tried both the MTP & MSC mode,modified the android_usb.inf file. I just can't get the device manager to update my driver. It shows there is no Android ADB Interface driver in my list of Device drivers. Please help me out. Trying to test my apps on my device since the last two days !
我无法让 Eclipse 检测到我的 Xperia E。我打开了 USB 调试,尝试了 adb kill-server 和启动服务器,尝试了 MTP 和 MSC 模式,修改了 android_usb.inf 文件。我只是无法让设备管理器更新我的驱动程序。它显示我的设备驱动程序列表中没有 Android ADB 接口驱动程序。请帮帮我。前两天开始尝试在我的设备上测试我的应用程序!
回答by user2125722
Ok, This did it for me. Connected Xperia E to my laptop. Enabled USB Debugging. Went to the Computer > Right Click > Manage > Device Manager > Other Devices > Android ADB Interface > Right Click > Update Driver > Browse my computer for Driver Software > Let me pick from a list of device drivers on my computer .Now, here is the MAINpart. Instead of looking for Android ADB Interface, scroll down & you will find a driver named Sony so0101. Click next & install it. Now, Eclipse detects my device !!
好的,这对我有用。将 Xperia E 连接到我的笔记本电脑。启用 USB 调试。转到计算机 > 右键单击 > 管理 > 设备管理器 > 其他设备 > Android ADB 接口 > 右键单击 > 更新驱动程序 > 浏览我的计算机以查找驱动程序软件 > 让我从计算机上的设备驱动程序列表中选择。现在,这里是的主要组成部分。而不是寻找 Android ADB 接口,向下滚动,你会发现一个名为Sony so0101的驱动程序。单击下一步并安装它。现在,Eclipse 检测到我的设备!
NOTE : USB DEBUGGING must be enabled ,otherwise the device (XPERIA E) will show under portable devices and no Android ADB Interface will be present to update.
注意:必须启用 USB DEBUGGING,否则设备 (XPERIA E) 将显示在便携式设备下,并且不会出现要更新的 Android ADB 界面。
Hope, it helps someone as it took me two days to figure it out ! Cheers !
希望,它可以帮助某人,因为我花了两天时间才弄明白!干杯!
回答by Kastriot Dreshaj
Go in platform-tools and type adb kill-server
then adb start-server
.
进入平台工具并输入adb kill-server
then adb start-server
。
platform-tools is in your sdk in my case is E:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools
就我而言,平台工具在您的 sdk 中 E:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools
回答by Amit
I have nexus 4 and faced the same issue. When you go to My Computer > Manage > Device Manager > Other Devices , it was showing me Nexus 4 there and not "Android ADB Interface". To fix this, right click on nexus 4 and click on update. from two option select "Browse my computer for driver software" and then select "Let me pick from a list of device drivers on my computer ". you will see "Android ADB Interface" as an option. Select and install it. Now AVD manager will show the device.
我有 nexus 4 并面临同样的问题。当您转到“我的电脑”>“管理”>“设备管理器”>“其他设备”时,它向我显示了 Nexus 4,而不是“Android ADB 接口”。要解决此问题,请右键单击 nexus 4,然后单击更新。从两个选项中选择“浏览我的计算机以查找驱动程序软件”,然后选择“让我从计算机上的设备驱动程序列表中选择”。您将看到“Android ADB 接口”作为选项。选择并安装它。现在 AVD 管理器将显示设备。