Go to Settings → Additional settings → Developer options
Make sure these are all ON:
USB Debugging
Install via USB
USB Debugging (Security settings)
Reboot your phone
Try again: