5

I recently enrolled my Pixel XL for Android Beta program. After the update to Nougat 7.1.2 my device is not detected properly in Android Studio Linux.

I get something like this in AVD monitor

HT6A70201284 [null] 

But it was working on my windows desktop, I tried it on other linux devices and got the same issue. I came across a post mentioning about the driver support, so I updated my SDK to Android O preview, but it had no use.

Another strange behavior is when I turn of the debug mode in phone, it gets detected by my linux system, other posts state the same driver issues, but I am not able to figure out exactly which driver and from where I am supposed to install.

Mohammed Atif
  • 4,383
  • 7
  • 28
  • 57
  • Hi, did you manage to solve it? I'm annoyed of this since couple of months. – WindRider May 30 '17 at 10:59
  • @WindRider there is no permanent solution that I could find. I just change the connection mode to file transfer after connecting phone to laptop and it works fine then – Mohammed Atif May 30 '17 at 11:43
  • I do the same plus another change to Transfer Photos (PTP). Without these 2 changes it doesn't work. Let's hope it will be fixed in O. – WindRider May 30 '17 at 11:48
  • It definitely does not work on my Nexus 6P. What happens between you clicking "select USB configuration" and transferring files? My phone already had that option selected anyway. – Chris Aug 08 '17 at 22:36

2 Answers2

11

Just a simple solution (Working on Nexus 5X, 7.1.2),

  1. Developer options
  2. Select USB configurations
  3. Choose MTP (Media Transfer Protocol)

OR

If notification panel shows "USB charging this device"

  1. Tap on it and just select "Transfer files"
  2. Device detected.
Hanry
  • 5,481
  • 2
  • 40
  • 53
1

I am not sure if anyone else faced this issue, but after trying several stuffs, the problem seems to be solved temporarily.

Generally I use my device in charging mode while developing the apps, but after the update Android studio detects the device in Data Transfer Mode only, somehow, USB mode charging has some bugs in preview release and couldn't be detected by Android Studio.

Mohammed Atif
  • 4,383
  • 7
  • 28
  • 57