So a new version of Kotlin
has been released since the last video.
So I thought I'd add a short video to
do a bit of tidying up.
We've also got a new version of Android Studio.
Android Studio 3.1 which uses a newer version of Gradle.
So I want to open up the TaskTimer project.
Android Studio did pop up a dialogue strongly recommended
that I update to version 3.3 of the Gradle plugin
as well as version 4.10.1 of Gradle.
So updating is easy.
I just a matter of clicking on the update buttons.
I'm gonna do that now.
I'm gonna start with Android Studio 3.3.1 now
and click on update and restart.
And obviously I'll just fast forward this process
so that you don't sit here watching the whole process.
All right, so Android Studio is updated
and it's asking me to use my settings
on what to do with the settings.
So I'm going to update from the previous version
that I had installed Android 3.2 so that the settings
are actually reused.
I'm gonna click on that and I also
have this opportunity here to delete unused versions
of Android Studio.
I would generally recommend that
that's a good idea for you to do.
I'm not gonna do that now because I like keeping
the various versions but if you want to delete them
just check the directory checkbox like so
and click on delete and that would actually delete them all.
In my case I'm just gonna click on cancel
and keep those configurations.
All right so it's just opening the TaskTimer project again.
You can see we've got a note there
that we've updated to 3.3.
So I'm just gonna close that down.
And we'll just let in finish off building.
We've still got some updates to do there.
That's gonna be the various emulators and so forth
for the new version of Android Studio.
But also here, notice if we hover over that,
a newer version of Gradle, 3.2.1 is available.
3.3.1 over here, so I'm gonna change that to 3.3.1.
But also up here, actually what I'll do is sync that first.
And down here you can see that Kotlin has been updated
as well, 1.3.21 is the latest version there
so I'm going to update that as well.
And if you get a higher number than what you are seeing
on the video, change it to that higher number.
In my case I'm changing it to 1.3.21.
We're going to click on try again.
And we got that other message there about Gradle
which we'll probably want to update as well.
So we'll give that a moment.
And it'll probably want to update to the latest
version of Gradle as well.
So what we can do is just close that down.
The newest support of Gradle version is 4.10.1,
current version is 4.6.
So you can click on fix Gradle wrapper.
That's going to download the new version 4.10.1 in my case.
Which again may be a later version when you go to run this.
It'll download and re-sync and we should be good to go.
And you can see this is quite a major update.
There's quite a few files there
that are being downloaded.
And updated in our project including the new version
of the Gradle plugin as well as the new version
of Kotlin that you saw me update in this video.
Quite a few other related bits and pieces
that all have to do with the updated version of Gradle
that are downloading and being set up on this computer.
Okay so we've finally finished and updating
and what I'm going to do now is just take the opportunity
to close that project.
We could've done that on the other screen.
Check for updates here.
Then we'll let it go through and I'm gonna click
on update now and you could see I've got quite a few
different versions there and that's because I've
had those installed to show you emulators
and so forth and the various versions of Android.
You might certainly won't have all the versions
that I've got and it won't take as long as it will for me.
So I'm gonna click on update now
and accept all of those.
Click on next and let that update.
And I will come back once that's finished.
All right, so the update now is finally complete
and we're gonna click on finish
and we'll end the video here.
Then the next one we've just got a few corrections
we need to make to TaskTimer.
So let's look at doing that in the next video.