for Intellij IDEA to detect your Android device the phone driver must be installed aswell as the Google USB Driver
Step 1
Tools > Android > SDK Manager > Google USB Driver



Step 2
In my case I was required to download a Pixel XL 2 Driver.
Step 3
restart Intellij and connect your phone