build failed
common-compose-module-configs-script-plugin.gradle.kts文件报错 AGP : 7.1.0-alpha12 Gradle : 7.2 gradle plugin : 1.5.21 下面的代码报错: android { compileSdk = ProjectConfigs.compileSdkVersion
defaultConfig {
minSdk = ProjectConfigs.minSdkVersion
targetSdk = ProjectConfigs.targetSdkVersion
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
freeCompilerArgs = freeCompilerArgs + "-Xopt-in=kotlin.RequiresOptIn"
}
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = ProjectConfigs.kotlinCompilerExtensionVersion
}
} 类似于#112
the same
Thanks let me try to add fix for stable AS version. Project should be working on Latest canary version.
Same error on latest Canary
Android Studio Chipmunk | 2021.2.1 Canary 5 Build #AI-212.5457.46.2112.7905983, built on November 11, 2021 Runtime version: 11.0.12+0-b1504.28-7817840 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 11.6 GC: G1 Young Generation, G1 Old Generation Memory: 1280M Cores: 16 Registry: external.system.auto.import.disabled=true