Reputation: 9924
I use constraing layout in my app.
However the layout editor pops me a warning that I use the obsolete library:
Using version 1.0.0-alpha9 of the constraint library, which is obsolete
In my gradle file I have:
com.android.support.constraint:constraint-layout:1.0.0-alpha9
Where can I check which one is the newest (up-to-date) version of this lib?
E D I T:
The question is about 'How do I know which version is the newest", not about updating the SDK to the newest (Because I still have to type a number which I do not know.)
Upvotes: 4
Views: 2493
Reputation: 2258
You can also find the latest on maven repositiory. https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout
Upvotes: 0
Reputation: 31
You can easily check all versions even beta version and of course latest ones via https://dl.google.com/dl/android/maven2/index.html
Google is offering libs over maven repos for CI systems.
For example, from there you can easily see that latest version of constraint-layout is 1.1.0-beta3 under com.android.support.constraint constraint-layout
Upvotes: 1
Reputation: 7935
Usually Android Studio warns you about new updates by highlighting the line, then if you click on that line and press alt + enter it will popup an option to update.
Or, you can look at this instruction (the item #3), so you can see the latest version in your Android Studio SDK Manager Tools.
Or, you can also stay tuned about ConstraintLayout new updates in this link: http://tools.android.com/recent
Upvotes: 4
Reputation: 1102
alt
+ Enter
Shortcut for update.Also you can do from SDK Manager
Upvotes: 1
Reputation: 1
In the Android Studio, SDK Manager -> SDK Tools.
ConstraintLayout in the Tools location
Upvotes: 0
Reputation: 2849
Open your SDK Manager in Android Studio. Then click on SDK Tools tab inside 'Appearance & Behavior > System Settings > Android SDK. Under Support Repository, you can find ConstraintLayout for Android latest update about to download. Select and Apply changes.
Upvotes: 0