简体   繁体   English

如何在物理设备上测试我的应用程序?

[英]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.

相关问题 如何在 Android Studio 中将我的物理设备作为模拟器运行? - How can I run my physical device as an emulator in Android studio? android studio未检测到我的物理Android设备来测试我的Android Apps - My physical Android device is not detected by android studio to test my Android Apps 我的物理笔记本电脑的usb端口可以连接云机吗? 我想使用 android 工作室测试 android 应用程序 - Can I connect my physical laptop's usb port with cloud machine? I want to test android apps using android studio 如何从我的物理 Android 设备访问我的本地主机? - How can I access my localhost from my physical Android device? 如何在Windows上的物理设备(Wiko手机)上运行离子应用程序? - How can I run my ionic app on a physical device (Wiko phone) on Windows? 我可以测试在此真实硬件设备上开发的Android应用程序吗? - Can I test Android apps that I develop on this real hardware device? 如何为特定设备测试我的应用? - How can I test my app for a specific device? 如何在物理设备上运行 android 仪器测试? - How to run android instrument test on physical device? 如何使用移动热点从Android应用(物理设备)向本地服务器发送HTTP消息 - How can I send http messages from android app( physical device) to my local server using mobile hotspot 如何在不使用互联网连接的情况下将android物理应用中的http消息发送到本地服务器? - How can I send http messages from android app( physical device) to my local server without using internet connection?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM