


However we cannot choose between the following variants of :kotlin-gradle-plugin:1.7.0:Īll of them match the consumer attributes: > The consumer was configured to find a runtime of a component compatible with Java 11, packaged as a jar, and its dependencies declared externall > Could not resolve :kotlin-gradle-plugin:1.7.0. > Could not resolve all artifacts for configuration ':classpath'. I've upgraded Gradle version from 7.0.2 to 7.2.2 and Kotlin Gradle plugin from 1.4.21 to 1.7.0 and Android Studio builds my project without any errors, but every time I try to build the project using terminal it causes these errors: A problem occurred configuring root project 'project-agp-upgrade'.
