📅  最后修改于: 2022-03-11 14:58:39.848000             🧑  作者: Mango
I faced this error. so I added the line below to build.gradle(project) file,
dependency part:
classpath 'com.android.tools.build:gradle:3.6.0'
and I changed distributionUrl in gradle-wrapper.properties file to :
https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
It solved my problem I hope solve yours too.