Android device is not connected to USB for debugging (Android studio)
If you are on windows, many times it will not recognize the device fully and because of driver issues, the device won't show up.
- go to settings
- control panel
- hardware and sound
- device manager
And look for any devices showing an error.
Many androids will show as an unknown USB device.
Select that device and try to update the drivers for it.
Android Studio doesn't see device
To change what your application defaults to when you click run or debug in Android Studio, follow these steps:
1. go to Run
2. Click on Edit Configurations
3. Select the project
4. find the Target Device section under the General tab on the Android Application page.
That seems to be where you toggle what the project builds to. If you're importing a project it actually defaults to Emulator, not sure why. You can also select "Open Select Deployment Target Dialog" to list both connected as well as emulated devices.
Why can Android Studio not connect to physical devices?
This is a bug in the 27.0.0 Android tools, this question has answers that explain solutions, and a link to the bug in the Google bug tracker
Android Studio - ADB start server fails, adbkey check fails
Android Studio does not detect Android device on Windows 10
Depending of your device you might be required to install the phone specific drivers.
Also, sometimes it helps if you go to phone Developer settings and uncheck/disable USB debugging and enable it again.
Related Topics
Change Device Language via Adb
Failed to Read Png Signature: File Does Not Start with Png Signature
How to Apply Plugin to Only One Flavor in Gradle
How to Use Getlistview() in Activity
How to Get the Date from the Datepicker Widget in Android
Firebase: How to Set Default Notification Channel in Android App
Using Webview Sethttpauthusernamepassword
Android Gridview Keep Item Selected
Android Gridview Keep Item Selected
Proguard Warnings "Can't Write Resource [Meta-Inf/Manifest.Mf] (Duplicate Zip Entry)"
How to Reduce the Spacing Between the Action Item Icons on Action Bar
How to Get the File *.Apk Location in Android Device
No Peer Certificate' Error in Android 2.3 But Not in 4
Android Studio Cannot Resolve R in Imported Project
Why Is Calling Process.Killprocess(Process.Mypid()) a Bad Idea