Code analysis tools, such as Android Lint, can help you detect potential bugs and how your app can be optimized for security, usability, and performance.
Android Lint comes with Android Studio, but there are also other tools available such as: Check Style, Project Mess Detector (PMD), and Find Bugs. In this recipe, we will only have a look at Android Lint.
Most ideally, you would have completed the first two recipes of this chapter, so we will now examine the results of the app. However, you can use
Android Lint
(or another tool) on any project to see where things can be improved.