• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

이번편 강의의 3:52 부분까지 공부했는데 에러가 걸립니다

21.03.11 05:51 작성 조회수 231

0

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:kaptDebugKotlin'.

> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution

   > java.lang.reflect.InvocationTargetException (no error message)

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 14s

열심히 구글링을 진행해봤지만 별다른 성과가없었습니다.

분명 apply plugin: 'kotlin-kapt' 이부분에 무엇인가 문제가

있는것 같은데 아무리 찾아봐도 나오질 않네요...

답변 2

·

답변을 작성해보세요.

0

Mon tage님의 프로필

Mon tage

질문자

2021.03.13

말씀하신대로 플러그인을 교체해봤는데 그래도 동일한 오류가 나오네요... 왜 이럴까요 ㅠ

0

최신 버전에서는 사용법이 바뀌어서 다음과 같이 작성해야 합니다. 한 번 확인 해 보세요.

plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
}