인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

hyuncheor han's profile image
hyuncheor han

asked

[For beginners] Learn Android Kotlin by creating 8 apps

Databinding explained

databinding에서 에러가 자꾸 뜹니다

Written on

·

3.5K

0

안녕하세요

build.gradle 에 databinding enable true

문구를 삽입하고 sync now 버튼을 누르면

Build file 'C:\androidstudio\databinding_ex2\app\build.gradle' line: 6

A problem occurred evaluating project ':app'.

> No signature of method: build_4bjou4sih9v8kk75135e2raeg.android() is applicable for argument types: (build_4bjou4sih9v8kk75135e2raeg$_run_closure1) values: [build_4bjou4sih9v8kk75135e2raeg$_run_closure1@6581ce67]

위와 같은 에러가 뜹니다

원인이 무엇일까요?

강의 주사위앱 만들기 첫번째 강의

데이터바인딩 설명 6분 45초 강의입니다.

firebasekotlinandroid

Answer 2

0

bokchi님의 프로필 이미지
bokchi
Instructor

현재 스크린샷에는 databinding 선언하는 부분이 나와있지 않네요~

0

bokchi님의 프로필 이미지
bokchi
Instructor

혹시 build.gradle 

databinding true라고 어떻게 적어놓으셨나요?

스크린샷으로 알려주세요

hyuncheor han님의 프로필 이미지
hyuncheor han
Questioner

databinding enable true 라고 적은 후 sync now 클릭하니 저렇게 표시가 되었습니다

bokchi님의 프로필 이미지
bokchi
Instructor

enable -> enabled 로 수정해주세요

bokchi님의 프로필 이미지
bokchi
Instructor

https://dev-imaec.tistory.com/37
여기참고하시면 되실듯합니다

hyuncheor han님의 프로필 이미지
hyuncheor han
Questioner

해결되었습니다 감사합니다!

hyuncheor han's profile image
hyuncheor han

asked

Ask a question