Today's

길을 나서지 않으면 그 길에서 만날 수 있는 사람을 만날 수 없다

모바일 앱(안드로이드)

FAILURE: Build failed with an exception.

Billcorea 2024. 5. 4. 10:10
반응형

build gradle 설정'

오늘 갑자기 빌드를 하는데... 오류가 나왔습니다. 

FAILURE: Build failed with an exception.

* What went wrong:
Circular dependency between the following tasks:
:app:extractDeepLinksDemoDebug
\--- :app:injectCrashlyticsMappingFileIdDemoDebug
     \--- :app:kspDemoDebugKotlin
          \--- :app:processDemoDebugResources
               +--- :app:mapDemoDebugSourceSetPaths
               |    \--- :app:injectCrashlyticsMappingFileIdDemoDebug (*)
               +--- :app:mergeDemoDebugResources
               |    \--- :app:injectCrashlyticsMappingFileIdDemoDebug (*)
               +--- :app:parseDemoDebugLocalResources
               |    \--- :app:packageDemoDebugResources
               |         \--- :app:injectCrashlyticsMappingFileIdDemoDebug (*)
               +--- :app:processDemoDebugManifest
               |    \--- :app:processDemoDebugMainManifest
               |         \--- :app:extractDeepLinksDemoDebug (*)
               \--- :app:processDemoDebugManifestForPackage
                    \--- :app:processDemoDebugManifest (*)

 

 

구글링을 통해 알아본 바로는...

 

https://github.com/firebase/firebase-android-sdk/issues/5930

 

"Circular dependency" with `injectCrashlyticsMappingFileId` task in `firebase-crashlytics-gradle` version `3.0.0` · Issue #593

[READ] Step 1: Are you in the right place? yes [REQUIRED] Step 2: Describe your environment Using https://github.com/android/nowinandroid on main at commit afad1b9a [REQUIRED] Step 3: Describe the ...

github.com

 

이 글에서 원인을 찾을 수 있었습니다.

 

buildscript {
    ext {
        compose_version = '1.6.0'
        raamcosta_version = '1.9.54'
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:8.4.0'
        classpath 'com.google.gms:google-services:4.4.1'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9' // 3.0.0 에서는 빌드 오류 ?
    }
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
    id 'com.android.application' version '8.4.0' apply false
    id 'com.android.library' version '8.4.0' apply false
    id 'org.jetbrains.kotlin.android' version '1.9.23' apply false
}

 

com.google.firebase:firebase-crashlytics-gradle 가 패치가 되기는 한 것 같은데... 그것이 오류를 발생시키고 있다는 사실을...

 

다음 확인이 될 때 까지는 패치를 적용할 수 없을 것 같습니다.  ㅠㅠ

 

 

반응형