Gradle Sync failed could not find constraint-layout:1.0.0-alpha2

Chulo picture Chulo · Jun 23, 2016 · Viewed 140.2k times · Source

Problem :

Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha2.
Required by:
myapp:app:unspecified

Background : Android Studio 2.2 P 1

Answer

gokhanakkurt picture gokhanakkurt · Aug 4, 2016

Support libraries for ConstraintLayout could not be installed/updated.

Just open Preferences > Appearance & Behavior > System Settings > Android and move to SDK Tools tab. Check the following fields and install.

Preferences