简体   繁体   English

如何在Android Studio上运行Android设备

[英]How to run an android device on an android studios

I am currently trying to figure out why my mobile device will not show up in android studios.I have installed the google usb drivers for android studios, and enabled usb debugging. 我目前正在试图弄清为什么我的移动设备无法显示在android studios中。我已经为android studios安装了google usb驱动程序,并启用了usb调试。 I just have no idea why I can't see the device in android studios. 我只是不知道为什么我不能在android studio中看到该设备。

Make sure to install the device driver. 确保安装设备驱动程序。 Go to the Device Manager and check it. 转到设备管理器并进行检查。

'cd' to your sdk platform-tools folder “ cd”到您的sdk platform-tools文件夹

Check if adb finds your device 检查adb是否找到您的设备

./adb devices

If you do not see your device, restart adb : 如果看不到设备,请重新启动adb:

./adb kill-server
./adb start-server

then re-run ./adb devices and see if it finds your device. 然后重新运行./adb设备,看看它是否找到您的设备。 Example : 范例:

List of devices attached
3a2b522 device

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

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