Search code examples
javaandroidintellij-ideaandroid-studiosuppress-warnings

How to suppress warnings for a whole module at a time in Android Studio?


Every time I commit, Android Studio first checks the whole project. I am using one module which generates over 400 warnings. I don't plan on fixing the issues causing the warnings, since most of them are not important at all.

This slows development quite a lot, so:

Is there a way to suppress checks on a whole module at the same time in Android Studio

If not, is there a way to blacklist / whitelist certain directories from these inspections?


Solution

  • When you commit, there is checkbox to do not analyse the code:

    enter image description here