I just had this problem turned out that I had the phone plugged in and the usb connectivity mode was set to mass storage. To change this unplug the phone, go to settings, xperia connectivity settings, usb settings, change usb connection mode to MTP.
Worked for me.