电话没有出现在日食事件中,adb正在工作 [英] Phone doesnt show up in eclipse eventhough adb is working

查看:198
本文介绍了电话没有出现在日食事件中,adb正在工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse有一个小问题。由于某种原因,我无法在运行配置中找到我的设备。 USB调试功能在手机上启用,即使是在eclipse工作中连接手机时的logcat输出,但是我无法找到手机。如果我在运行配置中选择手动,则菜单中的所有内容都将被禁用:



任何想法为什么?手机是运行Android 2.2.1的HTC Desire HD,并安装了Froyo sdk。
提前感谢

解决方案

该窗口允许您选择首选的Android 虚拟设备如果您选择手动,当从Eclipse启动应用程序时,Eclipse应显示一个对话框,询问应用程序应该运行哪个设备 - 您的真实手机应该出现在该对话框中。





举个例子,我选择了这个对话框后,你发布的那个:



Android设备选择器http://extern.pascal-martin.fr/so/so-5133814-1.png



192.168。 0.10:5555手机是我的HTC Desire,通过wifi连接(我会得到与USB相同的结果 - 除了我会有我的手机的型号,而不是它的IP地址)


ive got a slight problem with Eclipse. For some reason i cant find my device in the run configurations. USB Debugging is enabled on the phone and even the logcat output when the phone is attached in eclipse works, however i cant find the phone. If i select manual in the run configurations everything gets disabled in the menu like this:

Any ideas why? Phone is a HTC Desire HD running android 2.2.1 and i have the Froyo sdk installed. Thanks in advance

解决方案

That window allows you to choose your preferred Android Virtual Device.

If you chose "Manual", when launching the application from Eclipse, Eclipse should display a dialog, asking you on which device the application should run -- your real phone should be present, in that dialog.


As an example, here's how this dialog looks like for me, after I've choosen Manual in the one your posted :

Android device chooser http://extern.pascal-martin.fr/so/so-5133814-1.png

The 192.168.0.10:5555 phone is my HTC Desire, connected over wifi (I would get the same result with USB -- except I would have the model's name of my phone, and not it's IP address)

这篇关于电话没有出现在日食事件中,adb正在工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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