Android Studio’s IED presents guidance for improving the environment as Notifications and Timeline as shown below.

 

If the developer accepts the invitation, you will be shown the following message informing you that the upgrade is ready, so approve it.

 

 

It was immediately upgraded to AGP 8.1.1.