Adam Varhegyi
Adam Varhegyi

Reputation: 9924

Where can I check the newest version NUMBER of constraint layout?

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

Answers (6)

makata
makata

Reputation: 2258

You can also find the latest on maven repositiory. https://mvnrepository.com/artifact/androidx.constraintlayout/constraintlayout

Upvotes: 0

Ömer Fadıl Usta
Ömer Fadıl Usta

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

Fabricio
Fabricio

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

MIkka Marmik
MIkka Marmik

Reputation: 1102

alt + Enter Shortcut for update.Also you can do from SDK Manager

enter image description here

Upvotes: 1

Alex Denisenko
Alex Denisenko

Reputation: 1

In the Android Studio, SDK Manager -> SDK Tools.

SDK Manager location

ConstraintLayout in the Tools location

Upvotes: 0

Febi M Felix
Febi M Felix

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

Related Questions