Abdellah Abdellah - 6 months ago 84
Android Question

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

Problem :

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

Background :
Android Studio 2.2 P 1


The fix is to update the android gradle plugin in your build.gradle.

This should work: classpath 'com.android.tools.build:gradle:2.2.0-alpha2'

Or you can use the latest: classpath 'com.android.tools.build:gradle:2.2.0-alpha3'