Android AVD not recognizing device but ADB does

江枫思渺然 提交于 2019-11-28 08:52:16

问题


I'm trying to get my device to debug my software but it won't show up in the AVD list. The ADB can see it and so does the Eclipse device manager. I can get an interactive shell using adb etc.

C:\Program Files (x86)\Android\android-sdk\platform-tools>adb devices
List of devices attached
BX9038ZRUV      device

Does anyone understand what's going on and how I should fix it? I'm running Windows 7 and my phone is a Sony Ericson Xperia S running Android 4.0.4.

回答1:


avd is only for virtual Device. What you have to do is:
Run Configs> change to "Ask everytime you run app" , or your real device.




回答2:


AVD stands for Android Virtual Device, your phone is a real one. It should show up in the Select target list when you run or debug an application.




回答3:


The AVD list only the virtual devices (emulators). Select "Always prompt to pick device" in your run config!



来源:https://stackoverflow.com/questions/13103383/android-avd-not-recognizing-device-but-adb-does

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