简体   繁体   English

运行项目时,Android Studio不显示我的设备

[英]Android Studio does not show my device while running the project

When i tried to run my project in android studio it does not show any device 当我尝试在android studio中运行项目时,它不显示任何设备

But i had correctly installed the adb interface driver and it also show in my device manager(Android Device -> Android Composite ADB Interface ). 但是我已经正确安装了adb接口驱动程序,它也显示在我的设备管理器中(Android设备-> Android Composite ADB Interface)。

My device is LAVA iris X1 (kitkat 4.4.2) 我的设备是LAVA iris X1(kitkat 4.4.2)

  1. Usb debugging was on USB调试已开启

  2. usb connection was switched to PTP (Camera) USB连接已切换为PTP(相机)

I had also tried certain posts but non of them works 我也曾尝试过某些帖子,但没有一个能奏效

Please provide a helpful solution. 请提供有用的解决方案。

Thanks in advance. 提前致谢。

同时启动2个设备,有时启动的firts设备可能未显示某些错误,但第二个被识别

Did you download the proper drivers for your device? 您是否为设备下载了正确的驱动程序? I also find it useful to have the device dialog come up. 我还发现启动设备对话框很有用。 If you go to Run Configurations you can select an option which will show the device chooser every time. 如果转到“运行配置”,则可以选择一个选项,该选项每次都会显示设备选择器。 Sometimes I have to plug and unplug my phone once or twice for it to be recognized. 有时我必须插拔手机一次或两次才能被识别。 This screens help me debug this potential issue. 此屏幕可帮助我调试此潜在问题。 Other then that check the drivers for the device if on Windows. 然后在Windows上检查设备的驱动程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM