[英]How can I test my apps on a physical device?
I want to test my apps on my physical android device. 我想在我的物理Android设备上测试我的应用程序。 I have installed the drivers and this is a picture from device manager:
我已经安装了驱动程序,这是来自设备管理器的图片:
But it is not recognised by eclipse and when i write adb -d devices
in cmd it shows just 但是它不能被eclipse识别,当我在cmd中编写
adb -d devices
,它仅显示
List of devices attached
and nothing else... 没什么...
Could you help me? 你可以帮帮我吗?
There are some additional steps to take after installing the USB driver, which I supposed you took from your SDK (for example: [Android SDK Root]\\adt-bundle-windows-x86\\sdk\\extras\\google\\usb_driver). 安装USB驱动程序后,还有一些其他步骤需要执行,我认为这是从SDK中获取的(例如:[Android SDK Root] \\ adt-bundle-windows-x86 \\ sdk \\ extras \\ google \\ usb_driver)。
Additional to that you have to modify the file android_winusb.inf by appending similar lines to the sections [Google.NTx86] and [Google.NTamd64], lines that should be provided with the platform you're using. 除此之外,您还必须通过在[Google.NTx86]和[Google.NTamd64]部分中添加相似的行来修改文件android_winusb.inf,这些行应随您使用的平台一起提供。
Also you have to create/modify the C:\\Users\\.android\\adb_usb.ini to contain a vendor ID provided also with the platform you're using. 另外,您还必须创建/修改C:\\ Users \\ .android \\ adb_usb.ini以包含您所使用的平台也提供的供应商ID。
You can check out this Q&A for more details: USB debugging - Issue with installing drivers for Epson Moverio 您可以查看此问答以获取更多详细信息: USB调试-安装Epson Moverio驱动程序时出现问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.