| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- gradle
- Android
- EditText
- Jetpack
- ndkVersion
- Andorid
- IOS
- data binding
- defaultconfig
- VM arguments
- DispatchQueue
- Java
- Swift
- mac
- 3rd part
- Kotlin
- AOS
- boot
- NDK
- retrofit
- buildconfigfield
- Chat GPT
- 3rd framework
- Framework
- xcframework
- Compose
- arm-linux-androideabi
- Eclipse
- Registering an InstanceCreator with Gson for this type may fix this problem
- BindingAdapter
Archives
- Today
- Total
grape
[android] jetpack room gradle setting 본문
jetpack room gradle setting
build error
1. Could not find method kapt
add plugin
id 'kotlin-kapt' // room추가
2. Could not find method ksp()
add plugin
id 'com.google.devtools.ksp' version '1.8.0-1.0.8' // room추가
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'kotlin-kapt' // room추가
id 'com.google.devtools.ksp' version '1.8.0-1.0.8' // room추가
}
android {
...
}
dependencies {
...
def room_version = "2.5.0"
implementation "androidx.room:room-runtime:$room_version"
annotationProcessor "androidx.room:room-compiler:$room_version"
// To use Kotlin annotation processing tool (kapt)
kapt "androidx.room:room-compiler:$room_version"
// To use Kotlin Symbol Processing (KSP)
ksp "androidx.room:room-compiler:$room_version"
// optional - RxJava2 support for Room
implementation "androidx.room:room-rxjava2:$room_version"
// optional - RxJava3 support for Room
implementation "androidx.room:room-rxjava3:$room_version"
// optional - Guava support for Room, including Optional and ListenableFuture
implementation "androidx.room:room-guava:$room_version"
// optional - Test helpers
testImplementation "androidx.room:room-testing:$room_version"
// optional - Paging 3 Integration
implementation "androidx.room:room-paging:$room_version"
// optional - Test helpers
testImplementation("androidx.room:room-testing:$room_version")
// optional - Paging 3 Integration
implementation("androidx.room:room-paging:$room_version")
}
reference andriod developer
https://developer.android.com/training/data-storage/room?hl=ko
'dev > aos' 카테고리의 다른 글
| [android] Application components(4대 컴포턴트) (0) | 2024.03.22 |
|---|---|
| [android]kotlin kdoc(java doc 대체) (0) | 2023.12.11 |
| [android] DataBinderMapperImpl.java:9: error: cannot find symbol (0) | 2023.12.11 |
| [android] Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules by implementation version (1) | 2023.12.08 |
| [android][kotlin] viewmodel binding implementation (1) | 2023.12.08 |