0

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

File>Project Structure>Modules

Polymath
  • 630
  • 7
  • 11
  • https://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences – gtxtreme Sep 04 '21 at 04:28
  • I would recommend that you always research before posting a new question over here, I'm also voting to flag this as duplicate – gtxtreme Sep 04 '21 at 04:28
  • Does this answer your question? [Automatically accept all SDK licences](https://stackoverflow.com/questions/38096225/automatically-accept-all-sdk-licences) – gtxtreme Sep 04 '21 at 04:29
  • 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 File>Project Structure>Modules – Polymath Oct 19 '21 at 06:15

0 Answers0