ComposeCookBook icon indicating copy to clipboard operation
ComposeCookBook copied to clipboard

build failed

Open 2314372037 opened this issue 4 years ago • 3 comments

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

2314372037 avatar Sep 30 '21 09:09 2314372037

the same

JeckOnly avatar Oct 06 '21 02:10 JeckOnly

Thanks let me try to add fix for stable AS version. Project should be working on Latest canary version.

Gurupreet avatar Oct 10 '21 16:10 Gurupreet

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

joelc1225 avatar Nov 21 '21 16:11 joelc1225