Unity cant resolve Android Dependincies its stuck at runnning Gradle

Hey there as you can see down below Im getting this error message and the resolving panel but its stuck at running Gradle and I guess its about the gradlew.bat file but its there I checked it I tried installing gradle itself updating my java version etc but it hasnt changed.Can anyone please help,thanks.
(Note: gradlew file doesnt seem in .bat format and everytime I open the project it renews itself that way)

Try completely removing Dependency resolver and downloading latest EDM4U version https://github.com/googlesamples/unity-jar-resolver/raw/v1.2.183/external-dependency-manager-1.2.183.unitypackage