강의

멘토링

커뮤니티

Inflearn コミュニティ Q&A

qkdltm5387569 のプロフィール画像
qkdltm5387569

投稿した質問数

モダンなAndroid - KotlinとJetpackを活用する

シングルトンオブジェクト注入

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

作成

·

396

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' 이부분에 무엇인가 문제가

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

jetpackandroidkotlin

回答 2

0

Mon tage님의 프로필 이미지
Mon tage
質問者

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

0

survivalcoding님의 프로필 이미지
survivalcoding
インストラクター

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

plugins {
id 'com.android.application'
id 'kotlin-android'
id 'kotlin-kapt'
}
qkdltm5387569 のプロフィール画像
qkdltm5387569

投稿した質問数

質問する