티스토리 뷰
안드로이드/코틀린
[Android Studio]A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction > java.lang.reflect.InvocationTargetException (no error message) room error
eqrw105 2021. 11. 5. 13:00[Android Studio]A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWithoutKotlincTask$KaptExecutionWorkAction > java.lang.reflect.InvocationTargetException (no error message) room error
android studio에서 room database 개발 시 아래 사진과 같은 에러를 발견 할 수 있다.
해결 방법은 간단하다.
build.gradle - dependencies 의존성 추가를 해주면 된다.
def roomVersion = "2.3.0"
implementation("androidx.room:room-runtime:$roomVersion")
kapt("androidx.room:room-compiler:$roomVersion")
//InvocationTargetException 에러 시 추가
kapt("org.xerial:sqlite-jdbc:3.34.0")
testImplementation("androidx.room:room-testing:$roomVersion")
'안드로이드 > 코틀린' 카테고리의 다른 글
[Android Studio]dp convert to px kotlin 픽셀 값 변환하기 코틀린 (0) | 2021.11.11 |
---|---|
[Android Studio]MVVM ViewModel 간단히 사용하기 (0) | 2021.11.07 |
[Android Studio]안드로이드 소프트웨어 버전 가져오기 플랫폼 버전 get software version platporm version kotlin 코틀린 (0) | 2021.11.04 |
[Android Studio]앱 버전 가져오기 android studio get app version kotlin 코틀린 (0) | 2021.11.03 |
[Android Studio] 안드로이드 스튜디오 get deviceId 디바이스 아이디 가져오기 코틀린 Kotlin (0) | 2021.11.02 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- github mirror
- 깃랩 잔디 옮기기
- kotlin
- 안드로이드 스튜디오
- room error
- amplify build error
- 코틀린
- 깃허브 잔디 옮기기
- gitlab mirror
- rn 오픈소스 라이센스
- amplify next.js
- rn oss
- 라이브러리 라이센스
- react.js useEffect
- nextjs ssr deploy
- 깃랩에서 깃허브로
- react native oss
- kakao api notworking
- non-zero exit code detected
- 커밋 이메일 변경
- Android Studio
- 안드로이드 해시키
- next.js ssr deploy
- 안드로이드 스튜디오 해시키
- react native 오픈소스 라이선스
- 깃허브에서 깃랩으로
- next useEffect
- 카카오 해시키
- Build failed because of webpack errors
- next.js useEffect
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함