Gradle sync failed on android studio 4.0 [duplicate]
问题 This question already has answers here : Ionic Capacitor app give me lots of errors (5 answers) Closed 25 days ago . After upgrading my android project to classpath 'com.android.tools.build:gradle:4.0.0' and distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip I found this error Gradle sync failed: Cause: org/gradle/api/internal/java/usagecontext/LazyConfigurationUsageContext my project details is: compileSdkVersion 29 ndkVersion "21.1.6352462" minSdkVersion 21