본문 바로가기

troubleshooting6

The following options were not recognized by any processor: '[dagger.fastInit, dagger.hilt.android.internal.disableAndroidSuperclassValidation, dagger.hilt.android.internal.projectType, dagger.hilt.internal.useAggregatingRootProcessor, kapt.kotlin.generat [ 해결 ]// build.gradle.kts (Module-level)id("kotlin-kapt") [ 참고 ]https://stackoverflow.com/questions/70550883/warning-the-following-options-were-not-recognized-by-any-processor-dagger-f warning : The following options were not recognized by any processor: '[dagger.fastInit, kapt.kotlin.generated]'I get this warning when I try to run or build an app in Android Studio. Why am I getting this? Do I n.. 2024. 11. 30.
This version (1.5.1) of the Compose Compiler requires Kotlin version 1.9.0 but you appear to be using Kotlin version 1.9.23 which is not known to be compatible. [ 해결 ]composeOptions { kotlinCompilerExtensionVersion = "1.5.12"}Compose 컴파일러 버전호환되는 Kotlin 버전Compose Compiler Gradle 플러그인을 사용하여 Compose를 사용 설정합니다.2.0.0 이상1.5.141.9.241.5.131.9.231.5.121.9.231.5.111.9.231.5.101.9.221.5.9달러1.9.221.5.81.9.221.5.72021년 1월 9일1.5.62021년 1월 9일1.5.51.9.21.5.41.9.21.5.31.9.11.5.21.9.01.5.11.9.01.5.01.9.01.4.82022년 1월 8일1.4.72021년 1월 8일1.4.61,8201.4.51,8201.4.41.8.101.. 2024. 11. 30.
e: java.lang.IllegalAccessError: superclass access check failed: class org.jetbrains.kotlin.kapt3.base.javac.KaptJavaCompiler (in unnamed module @0x603c3b7d) cannot access class com.sun.tools.javac.main.JavaCompiler (in module jdk.compiler) because module [ 해결 ]id("org.jetbrains.kotlin.android") version "1.9.23" apply false [ 참고 ]https://stackoverflow.com/questions/77628445/java-lang-illegalaccesserror-superclass-access-check-failed-class-org-jetbrain java.lang.IllegalAccessError: superclass access check failed: class org.jetbrains.kotlin.kapt3.base.javac.KaptJavaCompiler?I'm getting this strange AccessError after implementing Firebase Database d.. 2024. 11. 30.
unresolved reference : BuildConfig [ 해결 ]android.defaults.buildfeatures.buildconfig=true [ 참고 ]https://stackoverflow.com/questions/60942575/unresolved-reference-buildconfig-in-kotlin unresolved reference : BuildConfig in KotlinSo I started a new android application, here is my Android Studio info Android Studio 3.6.1 Build #AI-192.7142.36.36.6241897, built on February 27, 2020 Runtime version: 1.8.0_212-release-1586-b04...stackov.. 2024. 11. 1.
Execution failed for task ':data:kaptGenerateStubsDebugKotlin'. > java.io.IOException: No such file or directory [ 해결 ]tasks.withType(type = org.jetbrains.kotlin.gradle.internal.KaptGenerateStubsTask::class) { kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()}Sync Project 를 한 이후 해당 코드를 제거해보니 잘 작동된다. 문제의 원인은 모르겠다. [ 참고 ]https://velog.io/@mraz3068/GradleException-compileDebugJavaWithJavac-task-current-target-is-1.8-and-kaptGenerateStubsDebugKotlin-task-current-target-is-17 GradleException: 'com.. 2024. 11. 1.
org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering [ 해결 ]buildFeatures { compose = true}  [ 참고 ]https://velog.io/@mraz3068/org.jetbrains.kotlin.backend.common.BackendException-Backend-Internal-error-Exception-during-IR-lowering org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR loweringorg.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR loweringFile b.. 2024. 11. 1.