Android Studio is now Google's main push Android development features, in addition to providing a lot of features to help quickly develop Android code, in the Code quality control also provides a lot of tools, these tools are placed under the Analyze menu, mainly inspect Code, Code cleanup,analyze dependencies and other functions.
Inspect code is more powerful than the Checkstyle check under Eclipse, after all, it is designed for Android, by running lint to check the codes.
Running code cleanup can automatically modify irregular codes, but the current ability to modify is limited
Look at this to learn a lot of new things, such as using Sparsearray instead of HashMap to optimize performance
Analyze dependencies can check the library that the project relies on
Finally recommended a code review plug-in, Revu, this plug-in is relatively lightweight, review records are saved in an XML file, submitted directly to Git. This plug-in is better than reviewclipse function, easy to use, relatively light, can review any text file, achieve less than 10 small team.
Copyright NOTICE: This article is the original blogger article, reproduced please retain the source Http://blog.csdn.net/offbye
How to use Android Studio to improve app quality