In Android Studio, the list of devices and emulators doesn't list my physical device when I plug it in (Google Pixel 2). I've tried adding the device ID found w/ lsusb
to the ~/.android/adb_usb.ini
as described in the answer here, but to no avail :(
My only hint at what's going on is when I plugged the phone in for the first time, no dialog appeared asking if I trusted my computer. I recall this happened on my desktop computer where it works fine.
Any ideas greatly appreciated! Thanks!
Edit:
My pixel is running Android version 10, and when plugged in it's in 'File transfer/Android auto' mode. However I have tried switching it to PTP without any luck. Running adb devices
returns an empty list of connected devices, USB debugging through chrome://inspect
doesn't list my phone either, killing and restarting the adb server doesn't seem to change any of this.