Android Studio (2022.2.1) When downloading gradle when creating a new project, Read timed out is displayed. Solution

Android recently prompted to update a new gradle. (If you want to update the latest version of gradle, download it from the Internet and put the corresponding file in the designated location to decompress it.) Please do not download it yet! ! !

If it has been downloaded and this error occurs when creating a new project:

Click File→Setting→Build, Execution...→Build Tools→Gradle→Use Gradle from →Specified location → Select the old version of gradle (the file is accurate to the location in Figure 2)

Figure II

 

Note: 1. The file path of gradle is generally: C:\Users\Eternal丶 shallow time\.gradle\wrapper\dists

        2. Close the project and reopen it (if there are still errors, please change the Build.gradle version number, save and exit, and reopen it)

 If you are an industry leader, you will definitely know what is going on, so we only provide Android studio for those who have just come into contact with it! ! !

Guess you like

Origin blog.csdn.net/m0_64500431/article/details/130567992