无法找到Android设备使用" ADB设备"命令 [英] can't find android device using "adb devices" command

查看:157
本文介绍了无法找到Android设备使用" ADB设备"命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我满足issue.I发展到Mac OS Android应用程序。而我的应用程序上的emulator.I办好要在设备上运行,但是当我运行亚行的设备,我什么也没有。

I meet a issue.I develop android application on the Mac Os. And my application run well on the emulator.I want to run it on the device,but when I run "adb devices",I get nothing.

localhost:platform-tools BF$ adb devices 
List of devices attached 

localhost:platform-tools BF$

我在关于促进发展建立一个设备的提法检查文档。 我做的一切一步一步来。 在这些文件中,有一些话: 设置您的系统检测到您的设备。 如果您正在开发Mac OS X上,它只是工作。请跳过此步骤。

I have check the document in the reference about "Setting up a Device for Development". I do everything step by step. In the documents,there are some words : Setup your system to detect your device. If you're developing on Mac OS X, it just works. Skip this step.

现在,我没有找到任何解决方案。如果需要在Android专用的驱动程序? 需要你的帮助。

Now,I don't find any solution. If it need special driver in the Android? need you help

推荐答案

我知道这个线程是老了,但我认为这仍然可以帮助。几乎所有的时间,它只是作品在OS X上,但有时新/原型或模糊的设备不会回升。尽力帮助它与这些步骤(我不靠近​​我的Mac的权利,但我这样做昨晚想我记得):

I know this thread is old, but I think this could still help. Almost all the time "it just works" on OS X, but sometimes new/prototype or obscure devices aren't picked up. Try to help it out with these steps (I'm not near my Mac right now, but I did this last night and think I remember):

1 - 打开系统概述,并找到USB设备。查看它的详细信息,找到供应商ID。例如,摩托罗拉的设备将显示0x2bb8。或者只是谷歌为你的供应商的硬件ID。

1 - Open System Profiler and find the device on USB. View it's details to find the Vendor ID. For example, Motorola devices will show 0x2bb8. Or just Google for your vendor's hardware id.

2 - 编辑〜/ .android / adb_usb.ini为包括供应商ID。如果该文件不存在,只有该线路创建它。

2 - Edit ~/.android/adb_usb.ini to include that Vendor ID. If the file doesn't exist, create it with that line only.

3 - 重新启动亚行

3 - Restart ADB

adb kill-server 
adb start-server

4 - 也许拔掉/插件您的手机

4 - Maybe unplug/plugin your phone.

和希望你看到你的设备。

And hopefully you see your device.

这篇关于无法找到Android设备使用" ADB设备"命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆