Why use the error plugin in Android Studio

I recently installed the error plugin in Android-Studio and configured the settings as described on its website.

The plugin works fine, but I noticed that any errors that the Error-prone-plugin shows during compilation are already highlighted by the Lint tool in the editor.

So, I want to know why I should use the vulnerability in Android studio. Or what details I do not know about the tool with an error or Lint.

+4
source share
1 answer

As far as I know, the error-prone compiler is more stringent than the standard compiler, and notes problems that could become an error. A practical example: a project that compiles using a standard compiler, with methods that override their super method without the @Override annotation, will cause errors warning you, so you can consciously act on this (either annotate or suppress a false positive). Thus, it is used as a low-quality early quality principle. In this regard, I found this interesting read / github test project: https://artemzin.com/blog/android-development-culture-the-document-qualitymatters/

0
source

Source: https://habr.com/ru/post/1667319/


All Articles