When I run the Empty Activity 'My Application', I get the following error message:
Failed to install the following Android SDK packages as some licences have not been accepted. build-tools;30.0.2 Android SDK Build-Tools 30.0.2
Please advise what to do to solve this issue.
This had nothing to do with accepting licenses for sdk30 since i was using sdk31 only. Compile sdk version and Build tools version were not set in the created project. When I select version 31 for both the problem got solved