I am using the operating system Kali Linux
.
Tried to connect my phone to Android Studio
and to ADB
directly.
Enabled USB debugging mode.
Here are screenshots from Android Studio
:
Android Studio sees the phone, but ADB doesn’t want to see it:
Here is a session with adb
:
user @ kali: ~ $ adb devices
List of devices attached
user @ kali: ~ $ adb kill-server
user @ kali: ~ $ adb start-server
user @ kali: ~ $ adb devices
List of devices attached
user @ kali: ~ $ adb kill-server
user @ kali: ~ $ adb start-server
* daemon not running; starting now at tcp: 5037
* daemon started successfully
user @ kali: ~ $ adb devices
List of devices attached
user @ kali: ~ $
lsusb
the device sees.
I tried to modify the file /etc/udev/rules.d/51-android.rules
, I tried something else, but I didn’t get anything.
Answer 1, authority 100%
The problem was that my USB connection was set to “File Transfer”. I changed it to “Charging” and ADB saw the phone.