How to fix the:
License for package Android SDK Build-Tools 30.0.2 not accepted.
License for package Android SDK Platform 30 not accepted.
Failed to install the following Android SDK packages as some licenses have not been accepted.
Errors in Android Studio.