Compose 린트
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android Lint는 코드의 정확성을 확인하는 강력한 도구입니다. 앱을 프로덕션에 출시하기 전에 식별된 린트 오류를 수정하는 것이 좋습니다.
Compose는 기본적으로 여러 린트 검사와 함께 제공됩니다. 이렇게 하면 Compose 코드의 정확성을 확인할 수 있습니다.
Compose 린트 검사의 최소 버전 요구사항
호환성을 간소화하고 lint 검사 지원의 안정성을 개선하기 위해 Compose 1.9에는 Android Gradle 플러그인 (AGP) / Lint 버전 8.8.2 이상이 필요합니다.
AGP 버전이 8.8.2보다 낮고 업그레이드할 수 없는 경우 gradle.properties
파일에서 사용할 lint 버전을 지정할 수 있습니다.
android.experimental.lint.version = 8.8.2
이전에는 Compose 린트 검사의 복잡한 종속 항목으로 인해 호환성 문제가 자주 발생하고 올바른 도구 버전 (Android 스튜디오, AGP/린트, Compose)을 결정하기가 어려웠습니다.
Compose, AGP, 스튜디오의 최소 버전 요구사항은 다음과 같습니다.
Compose 버전 |
필요한 AGP / Lint 버전 |
필요한 스튜디오 버전 |
1.9 |
8.8.2 이상 |
Ladybug+ |
1.8 |
8.6.0 이상 |
Koala 기능 출시 -> Meerkat |
1.7 |
8.4.0 이상 |
Jellyfish -> Meerkat |
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-08-21(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-21(UTC)"],[],[],null,["# Compose lint\n\n[Android Lint](/studio/write/lint) is a powerful tool for verifying the correctness or\nyour code. It is highly recommended that you fix any identified lint errors\nbefore releasing your app to production.\n\nCompose ships with a number of lint checks by default. This helps verify the\ncorrectness of your Compose code.\n\nMinimum version requirement for Compose lint checks\n---------------------------------------------------\n\nTo simplify compatibility and improve stability for lint check support, Compose\n1.9 requires Android Gradle Plugin (AGP) / Lint version 8.8.2 or higher.\n\nIf you're using an AGP version lower than 8.8.2 and are unable to upgrade, you\ncan specify the lint version to use in your `gradle.properties` file: \n\n android.experimental.lint.version = 8.8.2\n\nPreviously, the complex dependencies of Compose lint checks led to frequent\ncompatibility issues and made it difficult to determine the correct tool\nversions (Android Studio, AGP/Lint, Compose).\n\nMinimum version requirements for Compose, AGP, and Studio are as follows:\n\n|---------------------|---------------------------------|--------------------------------|\n| **Compose Version** | **Required AGP / Lint version** | **Required Studio version** |\n| 1.9 | 8.8.2+ | Ladybug+ |\n| 1.8 | 8.6.0+ | Koala Feature Drop -\\\u003e Meerkat |\n| 1.7 | 8.4.0+ | Jellyfish -\\\u003e Meerkat |"]]