Top "Android-lint" questions

Android Lint is a tool in ADT which scans Android project sources for potential bugs.

Strange Lint Warning - Unexpected text found in layout file: ""

I've got the following selector defined in button_selector.xml <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="…

android android-lint
Disable `lint` in Android gradle

From the Android Tools Project Site's Android Gradle Plugin User Guide I'm aware that it's possible to prevent Android's lint …

android-gradle-plugin android-lint
Expected resource of type animator [ResourceType]

I've updated my SDK to the newest version, but now I am getting a lint error. Error: Expected resource of …

android android-animation android-lint
LinearLayout or its LinearLayout parent is useless , Can i ignore the warning message?

I face the nest layout problems and throws some exceptions. The error is "This LinearLayout layout or its LinearLayout parent …

android android-layout layout android-linearlayout android-lint
Android Lint - How to hide a warning 'The resource Xxx appears to be unused'

I'd like to disable the (new) Android Lint warning 'The resource Xxx appears to be unused' for some specific resources. …

android resources android-lint
Android API level annotation for Android libraries

I am writing an Android library. The vast majority of the interface in the lbirary supports Android API level 10 or …

android android-sdk-tools android-lint
Explain ClickableViewAccessibility

Concerning the SO swipe code, Android lint gave the warning OnSwipeTouchListener#onTouch should call View#performClick when a click is …

android warnings accessibility android-lint
Kotlin and android lint checks

I am really loving to code android apps in Kotlin recently - but I really miss lint. Anyone knows how …

android kotlin android-lint
Fatal Lint Error during exporting of signed app

I'm trying to export a signed android app, but I encountered this lint error: And when I go into the …

android fatal-error android-lint
Activity not registered in the manifest Lint warning

I have a base activity from which I subclass several other activities. Those other activities I do register in the …

android android-activity android-studio android-lint