androidandroid-constraintlayoutlintandroid-lint

MissingConstraints lint error when using Flow


I'm using the recently released constraint layout version 2.0 and they have added a new feature called Flow which basically replaces what linear layout used to do ( with more customization ). But the android lint is blocking my CI from building because it thinks the views are missing constraint. Suppressing this lint error for each of these views seems a plan B so am asking if there is a way to update lint independently from other components of the Gradle.

Currently running:


Solution

  • They just fixed it in Android Studio 4.1 RC3 https://issuetracker.google.com/issues/79995034