tool helps find poorly structured code that can impact the reliability and efficiency of your Android apps and make your code harder to maintain. Categories: Correctness Security Compliance Performance Usability Productivity Accessibility Internationalization Icons Typography Files: Java Kotlin Layout Manifest Gradle Proguard Property TOML Test Other
problems with formatting strings such as inconsistencies between translations or between string declaration and string usage. TranslucentViewDetector Specifying a fixed screen orientation with a translucent theme isn't supported on apps with `targetSdkVersion` O or greater since there can be an another activity visible behind your activity with a conflicting request.
be exported explicitly on Android 12 and higher Otherwise, installation will fail. IntentFilterExportedReceiver checks all intents in final manifest. https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/li bs/lint-checks/src/main/java/com/android/tools/lint/checks/ExportedFlagDetector.kt
Broadcast or service is not allowed after Android 12. Lint helps you during migration Do not ignore new lint errors https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/li bs/lint-checks/src/main/java/com/android/tools/lint/checks/NotificationTrampolineDetector.kt
not modify the set instance returned by this call. The consistency of the stored data is not guaranteed if you do, nor is your ability to modify the instance at all." Lint prevents you to write not working code https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-stu dio-main:lint/libs/lint-checks/src/main/java/com/android/tools/lint/checks/Shar edPrefsDetector.kt
performance but there are obvious APIs that are faster than others. • DrawAllocation • UseSparseArrays https://cs.android.com/android-studio/platform/tools/base/+/mirror-goog-studio-main:lint/l ibs/lint-checks/src/main/java/com/android/tools/lint/checks/JavaPerformanceDetector.java