Did you enable all the relevant settings in the developer options?
a. Enable developer options: "Settings" -> "About Phone" -> repeatedly tapping the "Build number". You should get a message that says you enabled developer options.
b. Inside the developer options, enable: "Stay Awake", "USB debugging", Under "Select USB configuration" select "MTP".
Then, scroll down and turn the animations off for: "Window animation scale", "Transition animation scale", "Animator duration scale".
When plugging in the USB cable to the Android device, you will be asked 3 things: Allow access to device data -> select "YES", Allow USB debugging -> select "OK"