I'm starting using Android Studio 2.2 and trying to play with ConstraintLayout but when I let android studio add it automatically it showed me that error
Using version 1.0.0-alpha7 of the constraint library, which is obsolete
when I try to upgrade it using quick fix I get that error
Error:Could not find com.android.support.constraint:constraint-layout:1.0.0-alpha8.
I think this is a bug in Android Studio. What should I do to fix it?
my current solution is to suppress the error.
File
- Settings
- Appearance & Behavior
- System Settings
- Android SDK
Remember choose "show detail". You should see the latest version of Constraint Layout.
You need to install ConstraintLayout for Android
inside Support Repository
package on SDK Tools
category of SDK Manager
.
You are getting this warning because you are using older version
of constraint layout while you have newer version
available.
Go to your sdk manager->sdk tools->Support Repository->ConstraintLayout For Android and then tick the Show Package Details checkbox to find the available versions of constraint layout and install the newest version and update your build.gradle(App Level).
Up until now the newest version is constraint-layout:1.0.2 so use this.
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