为什么我在 Eclipse 的 DDMS 透视模式下看不到我的 android 设备?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7294527/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 16:56:53  来源:igfitidea点击:

Why Can't I see my android device in DDMS Perspective Mode in Eclipse?

androideclipseadb

提问by Alex Kapustian

I turned on the usb-debugging mode and installed kies (drivers). What else should I do?

我打开了usb-debugging模式并安装了kies(驱动程序)。我还应该做什么?

I use MIUI.US Rom

我用的是 MIUI.US Rom

Edit:

编辑:

My device is Galaxy S I9000. I try to debug a program that I wrote through the device, but I can't see the device in eclipse. I tried:

我的设备是 Galaxy S I9000。我尝试调试我通过设备编写的程序,但在eclipse中看不到设备。我试过:

adb kill-server
adb start-server

but it didn't help.

但它没有帮助。

回答by John Fourth

This happened to me twice. Two different issues. The first was a bad USB cable. It would mount but not debug. The second was that I had to reinstall the Google USB drivers for the phone debugging. They are in your SDK install location under extras/google/usb_driver. You should see a device with an exclamation mark in device manager. Just update that driver with the one listed above.

这发生在我身上两次。两个不同的问题。第一个是坏的 USB 电缆。它会挂载但不会调试。第二个是我必须重新安装 Google USB 驱动程序以进行电话调试。它们位于您的 SDK 安装位置,位于 extras/google/usb_driver 下。您应该会在设备管理器中看到带有感叹号的设备。只需使用上面列出的驱动程序更新该驱动程序。

回答by Moog

I failed to get the Google drivers to work with Samsung devices over ADB.

我无法通过 ADB 使 Google 驱动程序与三星设备一起使用。

Install Samsung Kies and it will assist in installing the required OEM drivers for you.

安装 Samsung Kies,它将帮助您安装所需的 OEM 驱动程序。

回答by Anuj Tenani

Try the following, in your command prompt

在您的命令提示符下尝试以下操作

adb devices

see if it shows the list of devices attached

看看它是否显示连接的设备列表

if not , then make sure you have debugging enabled on your test device To enable debugging go to

如果没有,那么请确保您在测试设备上启用了调试要启用调试,请转到

Phone Settings --> Applications --> Development --> Enable USB Debugging

Check mark it , the try adb devices

勾选它,试试 adb devices

回答by Azmo

I know this is a very old question but I just encountered the same thing and solved it by simply REBOOTING the android device. Who would've thought huh?

我知道这是一个非常古老的问题,但我刚刚遇到了同样的事情,并通过简单地重新启动 android 设备解决了它。谁会想到啊?

Anyway, I am using android studio in stead of eclipse and a one-plus one device running Cyanogenmod 12.0, it wouldn't show up in the Android Device Monitor even though the drivers were installed, usb debugging was turned on and after revoking USB debugging authorisations multiple times and plugging it in and out of different USB ports, rebooting finally solved my issue.

无论如何,我正在使用android studio而不是eclipse和运行Cyanogenmod 12.0的一加一设备,即使安装了驱动程序,它也不会显示在Android设备监视器中,打开了usb调试并在撤销USB调试后多次授权并将其插入和拔出不同的 USB 端口,重新启动终于解决了我的问题。

回答by Hitesh Sahu

I had same problem with one plus one this is how I resolved it

我一加一也有同样的问题,这就是我解决的方法

SetUp Android Debugging

设置 Android 调试

  • Go to settings -> About Device and tap on Build number for 7 times it will unlock Developers Option feature in settings.
  • In Developers option check Usb debugging
  • 转到设置 -> 关于设备并点击内部版本号 7 次,它将在设置中解锁开发者选项功能。
  • 在开发人员选项中检查 USB 调试

SetUp Drivers

设置驱动程序

  • Go to My Computerright click properties
  • Select Device Managerfrom left menu,
  • In Device manager find the Android device, and select Update Driver Software.
  • Select Browse my computerfor driver software instead of Online search.
  • Next select let me pick from a list of device driverson my computer
  • Select Android driverfrom list of drivers If you get a warning, select Yes to continue.
  • 转到My Computer右键单击属性
  • 选择Device Manager从左边的菜单,
  • 在设备管理器中找到 Android 设备,然后选择更新驱动程序软件。
  • 选择Browse my computer驱动程序软件而不是在线搜索。
  • 下一步let me pick from a list of device drivers在我的电脑上选择
  • Android driver从驱动程序列表中选择如果收到警告,请选择是继续。