Integration with Android Lint tool in IntelliJ IDEA 11.1

In IntelliJ IDEA 11.1 we’ve added many inspections based on Android Lint tool, which reports many kinds of potential problems in the sources of your Android project.

For example IntelliJ IDEA will notify you about useless views in layout xml files and will offer to remove it:

Another example is that IDE warns you about hardcoded text and offer to extract a new string resource:

Some issues (such as duplicated icons or incomplete translations) aren’t shown in the editor, but reported when you run inspections for your project. Simply launch Analyze | Inspect Code from the main menu:

You can see all the Lint based inspections and tune them in Settings | Inspections | Android | Lint.

The feature is available to try it in the latest IntelliJ IDEA 11.1 EAP.

Comments below can no longer be edited.

3 Responses to Integration with Android Lint tool in IntelliJ IDEA 11.1

  1. Avatar

    Fredrik says:

    February 24, 2012

    Finally! Intelligence has been scarce for Android developers this far…

  2. Avatar

    koz says:

    January 28, 2015

    I only use this one device. Nothing else. Want it private in every way possible. Help. Says got all these others . don’t.

  3. Avatar

    Stephen Hays says:

    November 29, 2017

    How can I easily access this tool?

Discover more