Code analysis tools for Android

Mike Hudgell picture Mike Hudgell · Jun 30, 2011 · Viewed 12.6k times · Source

Is there any static code analysis tools for Android that would pick up simple things like NullPointerExceptions from trying to access an object that might be null (without checking for it first)...

Tools like resharper on C# projects do this quite well, so I'm presuming there is similar tools for Android's Java...

Answer

fones picture fones · Jul 19, 2012

Since ADT 16 there is build-int Android Lint tool for static code analysis. http://tools.android.com/tips/lint/