Avatar ·

Error "No signature of method: build_*.android()" in Gradle when building Android project on Kotlin

Hello everyone! I'm a beginner in Android development on Kotlin, and I encountered a problem when trying to build the project. I'm using Android Studio, Gradle version 8.2, AGP 8.0.2. In the build.gradle file (Module: app) I have: ```kotlin plugins { id("com.android.application") id("org.jetbrains.kotlin.android") version "1.9.0" } android { compileSdk = 34 defaultConfig { applicationId = "com.example.myapp" minSdk = 24 targetSdk = 34 versionCode = 1 versionName = "1.0" } buildTypes { release { isMinifyEnabled = false proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro") } } } dependencies { implementation("androidx.co