Phone doesnt show up in eclipse eventhough adb is working

时光怂恿深爱的人放手 提交于 2019-12-25 08:59:48

问题


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


回答1:


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 :


(source: pascal-martin.fr)

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)




回答2:


Maybe your platform target is sdk version 10. Your Desire only has 8. Does your manifest maybe include the line:

<uses-sdk android:minSdkVersion="10" />


来源:https://stackoverflow.com/questions/5133814/phone-doesnt-show-up-in-eclipse-eventhough-adb-is-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!