Simple solution was given for the android studio error "License for package Android SDK Build-Tools 32.1-rc1 not accepted.
Failed to install the following Android SDK packages as some licenses have not been accepted."
#androidstudio
#buildtools
#license