user1406716 user1406716 - 1 month ago 39x
Android Question

Error msg: using version 1.0.0-alpha2 of the constraint library which is obsolete

I am using
in my layout file and I get the following error message. I am not able to find what is the right compile line to use in gradle.

My gradle file has this:

compile ''

enter image description here


Tactically, alpha7 works.

In the future, I would imagine that Android Studio will provide better indicators of what the latest version is, just as it does for the classic Android Support libraries. However, Android Studio 2.2 and ConstraintLayout are each in pre-release form at the moment, so we're subject to their limitations.