관리 메뉴

막내의 막무가내 프로그래밍 & 일상

[안드로이드] 안드로이드 스튜디오 파이어베이스 연결시 could not parse the android application module's gradle config. resolve gradle build issues and/or resync. 에러 해결방법 본문

안드로이드/코틀린 & 아키텍처 & Recent

[안드로이드] 안드로이드 스튜디오 파이어베이스 연결시 could not parse the android application module's gradle config. resolve gradle build issues and/or resync. 에러 해결방법

막무가내막내 2021. 4. 3. 23:25
728x90

 

 

 

안드로이드 스튜디오 Tools - Firebase 를 통해 간편하게 파이어베이스와 연동을 하려고 할 때 

could not parse the android application module's gradle config. resolve gradle build issues and/or resync. 

이와 같은 경고창이 뜨면서 연동이 실패되었습니다.

 

해결방법은 

희안하게 데이터바인딩과 연관되어있었습니다. 

 

 

기존에 있던 

dataBinding {
        enabled = true
    }

을 제거해주고 다시 시도했더니 해결되었습니다. ㅎㅎ

 

 

참고 : stackoverflow.com/questions/45279479/error-could-not-parse-the-android-application-modules-gradle-config

 

Error: Could not parse the Android application Module's Gradle Config

I've been trying to setup Firebase in my Android project. Problem is, I've been getting this error: Could not parse the Android application Module's Gradle Config And I really can't solve it. I'v...

stackoverflow.com

 

 

이걸로도 안되는 경우가 있습니다. 

 

그럴경우에는 자신이 원래 프로젝트에서 앱수준과 프로젝트 수준의 builde.gradle 추가한 라이브러리들, 플러그인들을 모두 주석처리 후 해보시길 바랍니다. 이후에 위 방법으로 되지 않은 경우는 그렇게 해결했네요 :(

--> 꼭 해보시길 바랍니다. 

 

댓글과 공감은 큰 힘이 됩니다. 감사합니다. !!

728x90
Comments