AS gradle build error

      When I open the android project folder in Android Studio , AS noted that the "gradle-wrapper.properties" did not exist , so I created one,like 

distributionUrl=https://services.gradle.org/distributions/gradle-6.0.1-all.zip . And in build.gradle , current version is “com.android.tools.build:gradle:3.4.0” . But every time I run the project , every different error occured .
The error include : Cannot create directory 、FIleNotFoundException、IOException、and so on.