Guest OS is ubuntu 18.04

I am using android studio on a virtual machine. The adb is disconnecting the connected phone when allowing phone data.

The problem is as follow:

1 - Connect android phone to pc phone appears in ADB devices.

2 - allow or deny access to phone data device disappears from ADB devices.

3 - Switch from MTP -> PTP -> MTP everything is solved but it is annoying to do for each time I connect a device.


  • My Samsung phone is visible as a media device on the desktop.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.