Add ‘–warning-mode all’ command line argument in Android Studio

  • Post author:
  • Post category:其他


Just create(open) a file called gradle.properties in your root project:

root 
|--gradle.properties 
|--build.gradle 
|--app 
|----build.gradle

Then add inside that file:

org.gradle.warning.mode=(all,none,summary)