Connect timed out in Android Studio

Find the url in \gradle\wrapper\gradle-wrapper.properties,

download the zip by ourself, copy it, for example, to

C:\Users\euhat\.gradle\wrapper\dists\gradle-8.0-bin\6a41zxkdtcxs8rphpq6y0069z\gradle-8.0-bin.zip

then, reboot Android Studio.

refer to:
https://blog.csdn.net/chungehenyy/article/details/129427882