API Issue when uploading to Google Play

Today I’ve tried to upload my game onto Google Play and it has given me this error.

“Your app currently targets API level 28 and must target at least API level 29 to ensure it is built on the latest APIs optimized for security and performance. Change your app’s target API level to at least 29 — Your App Bundle contains the following configurations where the initial install would exceed the maximum size of 150 MB”

I’ve manually tried to update the API through Android Studio by updating it and downloading all the updates, but it didn’t make any difference. If anyone has any solution or advice for this situation I’d really appreciate all the help.