My SetupAndroid.Bat keeps aksing for AS 3.5.3 but not 4.0

So I set up a working android system for my mobile a few months ago but it stopped working abruptly.
After i tried working with the Oculus Quest I wanted to set it up again and i followed the steps to set up Android Studio 4.0 but the BAT file still asked for 3.5.3 so I set it up in 3.5.3 but yet again it didn’t seem to dedect the 3.5.3 and still asked for 3.5.3, i’ve tried clean installing both UE 5 and clean installing android studio and all the SDK’s i’ve run out of ideas on how to get it to work with 4.0 instead of the 3.5.3 or just to get it to work in general.

here’s a few screenshots i just took before writing this up

BAT File error : Screenshot - 91786fb12375632530ce07b2b97ab234 - Gyazo

Android studio version installed currently: Screenshot - ae4a4a6619f1bb2fd555e9d6e99caf04 - Gyazo

You don’t need to use setup bat
install the parts yourself
jdk8, jre8, as 4, sdk 29, ndk 21b