๊ฐœ๋ฐœ ์ผ์ง€ ๐Ÿ’ป/Swemo

Nutri Capture - ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๋กœ ์™„์ „ ์ „ํ™˜

interfacer_han 2025. 10. 31. 15:03

#1 ๊ฐœ์š”

build.gradle์— ์ •์˜ํ•œ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ(์˜์กด์„ฑ)๋“ค์˜ ์ฃผ์†Œ ๋ฐ ๋ฒ„์ „์„, ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ(libs.versions.toml)๊ฐ€ ์™„์ „ํžˆ ๊ด€๋ฆฌํ•˜๊ฒŒ ํ–ˆ๋‹ค.

 

#2 ๊ฐœ์„ ํ•œ ํฌ์ธํŠธ

#2-1 ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๋กœ ์™„์ „ ์ „ํ™˜

 

๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๋กœ ๋นŒ๋“œ ์ด์ „  |  Android Studio  |  Android Developers

Gradle ๊ตฌ์„ฑ ํŒŒ์ผ์„ Gradle ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๋กœ ์ด์ „ํ•ฉ๋‹ˆ๋‹ค.

developer.android.com

์ง€๊ธˆ๊นŒ์ง€์˜ Nutri Capture๋Š” ์ผ๋ถ€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋งŒ ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๊ฐ€ ๊ด€๋ฆฌํ–ˆ์—ˆ๋‹ค. ์ด์ œ๋Š” kapt๋ฅผ ์ œ์™ธ(#3-2 ์ฐธ์กฐ)ํ•œ ๋ชจ๋“  ํ”Œ๋Ÿฌ๊ทธ์ธ ๋ฐ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๊ฐ€ ๊ด€๋ฆฌํ•˜๊ฒŒ ๋ณ€๊ฒฝํ•œ๋‹ค.

 

#2-2 ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ตœ์‹ ํ™”

# in libs.versions.toml

[versions] 
... # ๋ณ€๊ฒฝํ•  ๋ถ€๋ถ„

[libraries]
...

[plugins]
...

๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๊ฐ€ ์ข‹์€ ์ด์œ  ์ค‘ ํ•˜๋‚˜๋Š”, "versions" ํ…Œ์ด๋ธ”์— ์žˆ๋Š” ํ‚ค-๊ฐ’ ์Œ์˜ ๊ฐ’ ๋ถ€๋ถ„๋งŒ ๋ฐ”๊ฟ” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ตœ์‹ ํ™”๊ฐ€ ๊ฐ€๋Šฅํ•˜๋‹ค๋Š” ์ ์ด๋‹ค. ํ•˜์ง€๋งŒ, ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ผ๋ฆฌ์˜ ๋ฒ„์ „ ํ˜ธํ™˜์„ฑ์€ ์—ฌ์ „ํžˆ ํ”„๋กœ๊ทธ๋ž˜๋จธ๊ฐ€ ์ž˜ ํŒŒ์•…ํ•ด์•ผ ํ•œ๋‹ค. 

 

#3 ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๋กœ ์™„์ „ ์ „ํ™˜

#3-1 ์ฝ”๋“œ ์Šค๋‹ˆํŽซ

// in ":app" ๋ชจ๋“ˆ์˜ build.gradle.kts

plugins {
    alias(libs.plugins.android.application)
    alias(libs.plugins.kotlin.android)
    alias(libs.plugins.kotlin.compose)
    id("org.jetbrains.kotlin.kapt") // ํŠน๋ณ„๋Œ€์šฐ (#3-2 ์ฐธ์กฐ)
    alias(libs.plugins.hilt)
}

android {
    ...
}

dependencies {

    implementation(libs.androidx.core.ktx)
    implementation(libs.androidx.lifecycle.runtime.ktx)
    implementation(libs.androidx.activity.compose)
    implementation(platform(libs.androidx.compose.bom))
    implementation(libs.androidx.ui)
    implementation(libs.androidx.ui.graphics)
    implementation(libs.androidx.ui.tooling.preview)
    implementation(libs.androidx.material3)
    ...
}

ํ”Œ๋Ÿฌ๊ทธ์ธ์€ alias ํ‚ค์›Œ๋“œ๋ฅผ ์จ์„œ '๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ์˜ ํ”Œ๋Ÿฌ๊ทธ์ธ ํ•ญ๋ชฉ (libs.plugins)'์˜ ํ•ญ๋ชฉ์„ ์ฐธ์กฐํ•˜๊ณ , ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋“ค์€ implementation์˜ ์ธ์ˆ˜์— '๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ์˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ํ•ญ๋ชฉ (libs)'์˜ ํ•ญ๋ชฉ์„ ์ „๋‹ฌํ•œ๋‹ค.

 

#3-2 kapt๋ฅผ ํŠน๋ณ„๋Œ€์šฐ ํ•˜๋Š” ์ด์œ 

#3-1์— ์žˆ๋Š” ์ฝ”๋“œ๋ฅผ ๋ณด๋ฉด, kapt๋Š” ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธํ™” ์‹œํ‚ค์ง€ ์•Š์•˜๋‹ค. Gradle Sync ๋ฌธ์ œ ๋•Œ๋ฌธ์ด๋‹ค. ์•„๋ž˜์™€ ๊ฐ™์€ ์ฝ”๋“œ๋ฅผ ์ผ๋Š”๋ฐ ์—๋Ÿฌ๊ฐ€ ๋‚ฌ๋‹ค.

 

...

[plugins]
kotlin-kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }

kapt์˜ ๋ฒ„์ „์€ 'org.jetbrains.kotlin.android ํ”Œ๋Ÿฌ๊ทธ์ธ' (← ์ฝ”ํ‹€๋ฆฐ ์ฝ”๋“œ๋ฅผ ์ปดํŒŒ์ผํ•  ์ˆ˜ ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ํ”Œ๋Ÿฌ๊ทธ์ธ)์— ์˜ํ•ด ์ด๋ฏธ ์ง€์ •๋˜์—ˆ์œผ๋ฏ€๋กœ ๋ฒ„์ „์„ ๋ช…์‹œํ•˜๋ฉด ์ถฉ๋Œ์ด ๋‚œ๋‹ค๋Š” ์ด์œ ๋‹ค. ๊ทธ๋ž˜์„œ version.ref๋ผ๋Š” key๋ฅผ ์•„์˜ˆ ์ œ๊ฑฐํ•˜๊ณ  Gradle Sync๋ฅผ ํ•ด๋ณด๋ฉด, ์ด๊ฑด ์ด๊ฑฐ๋Œ€๋กœ version.ref๊ฐ€ ์—†๋‹ค๋Š” ์—๋Ÿฌ๊ฐ€ ๋‚œ๋‹ค. ์•„๋งˆ ๋ฌด๊ฒฐ์„ฑ ์ฐจ์›์—์„œ ๋ง‰์•„๋‘” ๋“ฏํ•˜๋‹ค.

 

ํ•˜์ง€๋งŒ ๋•๋ถ„์— (org.jetbrains.kotlin.android ํ”Œ๋Ÿฌ๊ทธ์ธ์€ ์ฝ”ํ‹€๋ฆฐ ๋ฒ„์ „์— ์ข…์†๋˜๋ฏ€๋กœ) "kapt๋Š” ์ฝ”ํ‹€๋ฆฐ ๋ฒ„์ „๊ณผ ์ž๋™์œผ๋กœ ์—ฐ๋™"๋œ๋‹ค๋Š” ๊ฑธ ์•Œ์•˜๋‹ค. ๊ทธ๋ž˜์„œ ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ์˜ ๊ด€๋ฆฌ ๋ชฉ๋ก์—์„œ ๋บ๋‹ค(์˜ˆ์™ธ๋กœ ๋’€๋‹ค).

 

#4 ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ตœ์‹ ํ™”

#4-1 ๋ฒ„์ „ ๋ณ€๊ฒฝ ์‚ฌํ•ญ

# in libs.versions.toml
# ๋ณ€๊ฒฝ ์‚ฌํ•ญ ์—†๋Š” ์ค„์€ ์ƒ๋žต(...)ํ•จ

[versions]
agp = "8.9.3" # <- "8.5.1" (androidGradlePlugin)
hiltNavigationCompose = "1.3.0" # <- "1.2.0" (androidxHiltNavigationCompose)
hiltVersion = "2.56.2" # <- "2.46" (hilt)
kotlin = "2.1.20" # <- "1.9.21" (๋™์ผ)
coreKtx = "1.17.0" # <- "1.13.1" (androidxCore)
junitVersion = "1.3.0" # <- "1.2.1" (Now in Androidd์— ํ•ด๋‹น ํ”„๋กœํผํ‹ฐ๊ฐ’ ์“ฐ๋Š” ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์—†์Œ)
espressoCore = "3.7.0" # <- "3.6.1" (androidxEspresso)
lifecycleRuntimeKtx = "2.9.4" # <- "2.8.6" (androidxLifecycle)
activityCompose = "1.11.0" # <- "1.9.2" (androidxActivity)
composeBom = "2025.09.01" # <- "2024.04.01" (๋™์ผ)
navigationRuntimeKtx = "2.9.5" # <- "2.8.1" (androidxNavigation)
roomRuntime = "2.8.1" # <- "2.6.1" (room)
ksp = "2.1.20-1.0.31" # <- "1.9.0-1.0.13" (๋™์ผ)
...

[libraries]
...

[plugins]
...

๊ฐ€๋Šฅํ•œ ์ตœ์‹  ๋ฒ„์ „์œผ๋กœ ๋ชจ๋“  ํ”Œ๋Ÿฌ๊ทธ์ธ๊ณผ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์—…๊ทธ๋ ˆ์ด๋“œํ–ˆ๋‹ค. ์ฃผ์„(#)์—์„œ ํ™”์‚ดํ‘œ ๋’ค๋Š” ๋ณ€๊ฒฝ ์ „์˜ ๋ฒ„์ „์ด๊ณ , ๊ด„ํ˜ธ ์†์˜ ์ด๋ฆ„์€ Now in Android์—์„œ ์‚ฌ์šฉํ•˜๋Š” ํ”„๋กœํผํ‹ฐ๋ช…์ด๋‹ค (์ฐธ๊ณ : ์ „์ฒด libs.versions.toml ๋ณด๊ธฐ)

 

#4-2 "kotlin" ๋ฒ„์ „ ๋ณ€๊ฒฝ์˜ ์—ฌํŒŒ ๋Œ€์‘

":app" ๋ชจ๋“ˆ์˜ build.gradle.kts

plugins {
    ...
    // Compose Compiler ์ถ”๊ฐ€
    alias(libs.plugins.kotlin.compose)
}

android {
    ...

    // ์ด์ œ๋Š” ํ•„์š”์—†๋Š” ๊ตฌ๋ฌธ ์‚ญ์ œ
//  composeOptions {
//      kotlinCompilerExtensionVersion = "1.5.6"
//  }
    ...
}

dependencies {

    ...
}

Kotlin 1.x ์‹œ์ ˆ์—๋Š” Compose Compiler ๋ฒ„์ „์„ ๋ณ„๋„๋กœ (composeOptions.kotlinCompilerExtensionVersion์—์„œ) ๊ด€๋ฆฌํ•ด์•ผ ํ–ˆ์ง€๋งŒ, ์ด์ œ Kotlin 2.0 ์ดํ›„ Compose Compiler๊ฐ€ ๋ณ„๋„ Gradle Plugin์œผ๋กœ ๋ถ„๋ฆฌ๋˜์—ˆ๋‹ค. ๋”ฐ๋ผ์„œ composeOptions.kotlinCompilerExtensionVersion๋Š” ์ด์ œ ํ•„์š” ์—†๋‹ค.

 

๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ (libs.versions.toml)

[versions]
...

[libraries]
...

[plugins]
...
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } # Compose Compiler

build.gradle์—์„œ ํ˜ธ์ถœํ•œ libs.plugins.kotlin.compose๋ฅผ ์กด์žฌ์‹œํ‚จ(?)๋‹ค.

 

#4-3 "agp" ๋ฒ„์ „ ๋ณ€๊ฒฝ์˜ ์—ฌํŒŒ ๋Œ€์‘

# in gradle-wrapper.properties

...
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
...

Android Gradle Plugin์˜ ๋ฒ„์ „์„ 8.9.3์œผ๋กœ ์˜ฌ๋ ธ๋Š”๋ฐ, 8.9.x ๋ฒ„์ „ ์ด์ƒ์˜ Android Gradle Plugin์€ ์ตœ์†Œ 8.11.1 ๋ฒ„์ „ ์ด์ƒ์˜ Gradle์— ๊ธฐ๋ฐ˜ํ•ด์•ผ ํ•œ๋‹ค. ๋”ฐ๋ผ์„œ Gradle ๋ฒ„์ „์„ ์œ„์™€ ๊ธฐ์กด 8.7์—์„œ 8.11.1๋กœ ๋ณ€๊ฒฝํ–ˆ๋‹ค.

 

#4-4 "composeBom" ๋ฒ„์ „ ๋ณ€๊ฒฝ์˜ ์—ฌํŒŒ ๋Œ€์‘

# in libs.versions.toml

[versions]
...
materialIconsExtended = "1.7.8"

[libraries]
...
androidx-material-icons-extended = { module = "androidx.compose.material:material-icons-extended", version.ref = "materialIconsExtended" }

[plugins]
...

๊ธฐ์กด composeBom์˜ ๋ฒ„์ „์€ "2024.04.01"์ด์—ˆ๋‹ค. composeBom ๋ฒ„์ „์„ "2025.09.01"์œผ๋กœ ์˜ฌ๋ฆฌ์ž, ์•„๋ž˜ ์ฝ”๋“œ์—์„œ ์—๋Ÿฌ๊ฐ€ ๋‚ฌ๋‹ค.

 

// in NutrientChatBar.kt

import androidx.compose.material.icons.Icons // e: Unresolved reference 'icons'.

...

'icons' ํŒจํ‚ค์ง€๋ฅผ ์ฐพ์„ ์ˆ˜ ์—†๋‹ค๋Š” ์—๋Ÿฌ ๋ฉ”์‹œ์ง€์˜€๋‹ค. composeBom์— ์–ด๋–ค ๋ณ€ํ™”๊ฐ€ ์ƒ๊ฒผ๊ธฐ ๋•Œ๋ฌธ์ด๋ฆฌ๋ผ. ํ•˜์ง€๋งŒ BOM to library version mapping์—์„œ "2024.04.01" ๋ฒ„์ „์˜ mapping ์ •๋ณด๊ฐ€ ๋‚˜์™€ ์žˆ์ง€ ์•Š์•˜๋‹ค. ๋„ˆ๋ฌด ์˜ค๋ž˜๋๊ธฐ ๋•Œ๋ฌธ์ผ ๊ฒƒ์ด๋‹ค. ๊ทธ๋ž˜๋„ ๊ฒ€์ƒ‰์„ ํ†ตํ•ด ์ด๋Ÿฐ ๊ฒฝ์šฐ์—๋Š” "androidx.compose.material:material-icons-extended" ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ถ”๊ฐ€ํ•˜๋ฉด ๋œ๋‹ค๋Š” ์ •๋ณด๋ฅผ ์ฐพ์•˜๊ณ , ๋”ฐ๋ผ ํ•ด๋ดค๋”๋‹ˆ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์—ˆ๋‹ค. 

 

๋‹คํ–‰ํžˆ BOM to library version mapping์—๋Š” "2025.09.01" ๋ฒ„์ „ composeBom์˜ mapping ์ •๋ณด๋Š” ๋‚˜์™€ ์žˆ์—ˆ๋Š”๋ฐ, ์—ฌ๊ธฐ์„œ ์˜๋ฌธ์„ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ์—ˆ๋‹ค. "2025.09.01" ๋ฒ„์ „๋ถ€ํ„ฐ๋Š” ์ตœ์ดˆ๋กœ, 1.4.0 ๋ฒ„์ „์˜ "androidx.compose.material3:material3"๋ฅผ ์“ด๋‹ค. ๊ทธ๋ฆฌ๊ณ  ์ด ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ์˜ 1.4.0 ๋ฒ„์ „์„ ์„ค๋ช…ํ•˜๋Š” ๊ณต์‹ ๋ฌธ์„œ์—๋Š” ๋‹ค์Œ๊ณผ ๊ฐ™์€ ์„ค๋ช…์ด ๋‚˜์˜จ๋‹ค.

 

1. (androidx.compose.material.icons๊ฐ€ ์ œ๊ณตํ•˜๋Š”) Material Icons๋Š” ์ƒˆ๋กœ์šด ๋””์ž์ธ์ธ Material Symbols๋กœ ๋Œ€์ฒด๋˜์—ˆ๊ธฐ ๋•Œ๋ฌธ์— ๋” ์ด์ƒ ์ง€์› ์•ˆ ํ•จ
2. androidx.compose.material.icons ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋Š” ๋ชจ๋“  ์•„์ด์ฝ˜ ์„ธํŠธ๋ฅผ ์ „๋ถ€ ํฌํ•จํ•˜๊ณ  ์žˆ์–ด์„œ, ์‹ค์ œ๋กœ๋Š” ์“ฐ์ง€๋„ ์•Š๋Š” ์•„์ด์ฝ˜๊นŒ์ง€ ๋นŒ๋“œํ•˜๋А๋ผ ๋นŒ๋“œ ์‹œ๊ฐ„์— ์•…์˜ํ–ฅ์„ ์ฃผ๊ธฐ์— ๋” ์ด์ƒ ์ง€์› ์•ˆ ํ•จ

๊ทธ๋Ÿฌ๋‹ˆ ์ •๋ง ํ•„์š”ํ•œ ์‚ฌ๋žŒ๋งŒ ์ถ”๊ฐ€ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ(androidx.compose.material:material-icons-extended)๋ฅผ ๋‹ค์šด๋กœ๋“œํ•ด์„œ ์“ฐ๋ผ๋Š” ๋ง์ด๋‹ค.

 

#4-5 ์—ฌ๋Ÿฌ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ๋ฒ„์ „ ๋ณ€๊ฒฝ์˜ ์—ฌํŒŒ ๋Œ€์‘

// in ":app" ๋ชจ๋“ˆ์˜ build.gradle.kts

plugins {
    ...
}

android {
    ...
    compileSdk = 36

    ...
}

dependencies {

    ...
}

๊ฑฐ์˜ ๋ชจ๋“  ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ๋ฅผ ์ตœ์‹  ๋ฒ„์ „์œผ๋กœ ์˜ฌ๋ ธ๋”๋‹ˆ, Gradle Sync ์‹œ 35 ๋˜๋Š” 36์˜ complieSdk๋ฅผ ์š”๊ตฌํ–ˆ๋‹ค (๊ธฐ์กด์€ 34). ๊ทธ๋ž˜์„œ ๊ต์ง‘ํ•ฉ์ธ 36๋กœ compileSdk๋ฅผ ์˜ฌ๋ ธ๋‹ค.

 

Gradle Sync ์‹œ ๋–ด๋˜ ์—๋Ÿฌ ๋ฉ”์‹œ์ง€ ์ „๋ฌธ

๋”๋ณด๊ธฐ
๋”๋ณด๊ธฐ
1. Dependency 'androidx.hilt:hilt-navigation-compose:1.3.0' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

2. Dependency 'androidx.hilt:hilt-lifecycle-viewmodel-compose:1.3.0' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

3. Dependency 'androidx.navigation:navigation-compose-android:2.9.0' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

4. Dependency 'androidx.compose.material3:material3-android:1.4.0' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

5. Dependency 'androidx.compose.ui:ui-tooling-data-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

6. Dependency 'androidx.compose.material:material-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

7. Dependency 'androidx.compose.foundation:foundation-layout-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

8. Dependency 'androidx.compose.material:material-ripple-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

9. Dependency 'androidx.compose.foundation:foundation-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

10. Dependency 'androidx.compose.animation:animation-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

11. Dependency 'androidx.compose.animation:animation-core-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

12. Dependency 'androidx.compose.ui:ui-text-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

13. Dependency 'androidx.compose.ui:ui-tooling-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

14. Dependency 'androidx.compose.ui:ui-graphics-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

15. Dependency 'androidx.core:core:1.17.0' requires libraries and applications that depend on it to compile against version 36 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 36, for example 36.

16. Dependency 'androidx.activity:activity-ktx:1.11.0' requires libraries and applications that depend on it to compile against version 36 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 36, for example 36.

17. Dependency 'androidx.compose.runtime:runtime-saveable-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

18. Dependency 'androidx.lifecycle:lifecycle-runtime-compose-android:2.9.4' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

19. Dependency 'androidx.lifecycle:lifecycle-viewmodel-compose-android:2.9.4' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

20. Dependency 'androidx.compose.ui:ui-android:1.9.2' requires libraries and applications that depend on it to compile against version 35 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 35, for example 36.

21. Dependency 'androidx.activity:activity:1.11.0' requires libraries and applications that depend on it to compile against version 36 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 36, for example 36.

22. Dependency 'androidx.activity:activity-compose:1.11.0' requires libraries and applications that depend on it to compile against version 36 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 36, for example 36.

23. Dependency 'androidx.core:core-ktx:1.17.0' requires libraries and applications that depend on it to compile against version 36 or later of the Android APIs.

:app is currently compiled against android-34.

Recommended action: Update this project to use a newer compileSdk of at least 36, for example 36.

 

#5 ์†Œ์Šค ์ฝ”๋“œ

#5-1 ๋ฒ„์ „ ์นดํƒˆ๋กœ๊ทธ๋กœ ์™„์ „ ์ „ํ™˜

 

GitHub - Kanmanemone/nutri-capture-new

Contribute to Kanmanemone/nutri-capture-new development by creating an account on GitHub.

github.com

#3์ด ์ ์šฉ๋œ ์ปค๋ฐ‹

 

#5-2 ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์ตœ์‹ ํ™”

 

GitHub - Kanmanemone/nutri-capture-new

Contribute to Kanmanemone/nutri-capture-new development by creating an account on GitHub.

github.com

(#3๊ณผ) #4๊ฐ€ ์ ์šฉ๋œ ์ปค๋ฐ‹

 

#5-3 ๋ณธ ํ”„๋กœ์ ํŠธ์˜ ๊ฐ€์žฅ ์ตœ์‹  Commit

 

GitHub - Kanmanemone/nutri-capture-new

Contribute to Kanmanemone/nutri-capture-new development by creating an account on GitHub.

github.com