The device has either stopped responding or has been disconnected
the simplest way its work for me just go to settings > developer options > select usb configuration first select audio source while connecting to computer then select media transfer protocol (MTP) the device driver will install automatically