Compose lint
Stay organized with collections
Save and categorize content based on your preferences.
Android Lint is a powerful tool for verifying the correctness or
your code. It is highly recommended that you fix any identified lint errors
before releasing your app to production.
Compose ships with a number of lint checks by default. This helps verify the
correctness of your Compose code.
Minimum version requirement for Compose lint checks
To simplify compatibility and improve stability for lint check support, Compose
1.9 requires Android Gradle Plugin (AGP) / Lint version 8.8.2 or higher.
If you're using an AGP version lower than 8.8.2 and are unable to upgrade, you
can specify the lint version to use in your gradle.properties
file:
android.experimental.lint.version = 8.8.2
Previously, the complex dependencies of Compose lint checks led to frequent
compatibility issues and made it difficult to determine the correct tool
versions (Android Studio, AGP/Lint, Compose).
Minimum version requirements for Compose, AGP, and Studio are as follows:
Compose Version |
Required AGP / Lint version |
Required Studio version |
1.9 |
8.8.2+ |
Ladybug+ |
1.8 |
8.6.0+ |
Koala Feature Drop -> Meerkat |
1.7 |
8.4.0+ |
Jellyfish -> Meerkat |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-08-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 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 |"]]