Wednesday, October 24, 2018

If the checkstyle Gradle task fails, reinstall the checkstyle plugin

Some students have been encountering strange Gradle build failures in Android Studio that mention various checkstyle-related failures. Some of these are caused by clearly fixable things like severe syntax errors that prevent checkstyle from parsing the file, but others are more puzzling. One solution that's worked for some students is to uninstall the checkstyle plugin in File | Settings and reinstall it. I personally don't even have the plugin installed and the checkstyle Gradle task works fine.

No comments:

Post a Comment