how to solve?
My build. Gradle file configuration is as follows:
//Top - level build file where you can add the configuration options common to all sub - projects/modules.
Buildscript {
Repositories {
Jcenter ()
}
Dependencies {
The classpath 'com. Android. Tools. Build: gradle: 5.6.1'
}
}
Allprojects {
Repositories {
Jcenter ()
}
}
CodePudding user response:
You can try to create a new project, then the inside of the reference gradle configuration changes to the current projects,Mainly include the build gradle - project layer, top,,, build. Gradle - app layer, application layer,
You there is the top-level configuration is the classpath is not gradle version
By the way,, less a Google () library,,,
CodePudding user response:
The classpath 'com. Android. Tools. Build: gradle: 5.6.1' is this plugin configuration, to 3.5.0 (and) as versions,