Conflicting info on how to deploy to Android

I just want to test game dev in android.
I followed this

which says to install Java JDK and Android SDK

I followed this
https://developer.android.com/games/develop/build-in-unity
which says to add modules Android Build support Android SDK and NDK tools

Using this method, Paths to SDK JDK NDK etc are all in E:\UNITY\2020.2.1f1\Editor\Data\PlaybackEngines\AndroidPlayer

When I try to do a build it says "no android device connected even though it is connected and developer mode is turned on on my phone “Note 9”

DO i have to change paths for SDK and JDK to the ones installed by Java and Android or are the ones installed by Unity ok?

I am trying to determine why I get that error message

Hey, according to the errors, the paths are fine, it’s the connectivity with the device that’s having issues. You need to make sure your devices is discoverable. You can try the following to make sure everything’s in order:
• In device’s Developer options, revoke the USB permissions, unplug the device and plug it again while there’s no screen lock active. Authorize the connection and you should be good to go.

If you already have adb on your machine, you could try using “adb devices” in terminal / cmd to see if there’s any devices currently connected. It could also be the usb cable, but if you’re able to access the phone data via it, that shouldn’t be a problem. Do reply if you managed to progress in the matter!