Error:(30, 13) Failed to resolve: com.android.support.constraint:constraint-layout:1.0.0-alpha4
I've found the fix:
Android Studio 2.2 Preview 7
25.2.1
ConstraintLayout and Solver for ConstraintLayout
in SDK Manager as per image belowcom.android.support.constraint:constraint-layout:1.0.0-alpha5
to gradle.buildWell, I had the issue, that I updated the the ConstraintLayout and Solver dependecy like it was suggested it in the posts above. But still had the issue. My problem was, that the SDK Tools updated it to the latest version, in my case it was 1.0.0-alpha9, but in my gradle dependency was set to
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha8'
So, you can change your gradle build file to
compile 'com.android.support.constraint:constraint-layout:1.0.0-alpha9'
Or you check "Show package details" in the SDK Tools Editor and install your needed version. See screenshow below.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With