The problem with the phone: you need to activate the capabilities of the developer of the phone.
On a phone with Bean jelly (4.2) and newer versions of Android: Go to "Settings" β "About phone" β click "Create number" until a pop-up window appears that you have become a developer (5 or 7 times, the countdown will decrease ) Then go to "Settings" β "Developer" β "USB Debugging" and turn it on.
Older versions of Android on your phone: this is usually done from "Settings" β "Applications" β "Development" β "USB Debugging" and turns it on.
What is it!
You may need to restart the phone (not sure about this).
Then try "adb devices" on your computer console: your phone is listed and ready to use with android studio or more!
Good luck now!
Link: https://wiki.archlinux.org/index.php/Android Here: Connect the device
rafmav
source share