Android Build Error – Solution | Android Studio App Development

Android SDK Package Error – Fixed

by Alexandra Kropova from Mammoth Interactive

Did you build an application in Android Studio, just to have it not run in the emulator due to a build error? Read the solution in this post.

Want to learn more? Enroll in Complete Web & App Development with Machine Learning For All (125 Hours). Free in the Mammoth Unlimited Membership. Get 250+ courses and 2,000 hours at a dirt-cheap price.

The error message you are likely seeing:

Failed to install the following Android SDK packages as some licences have not been accepted

Solution

In Android Studio go to Tools -> SDK Manager.

  1. Go to SDK Tools
  2. Select Build Tools
  3. Select Android SDK Build Tools
  4. Select the Android SDK Command-line Tools (latest)
  5. Install by pressing Apply.

 

Toolkit:

  • Android Studio 2020.3.1
  • Kotlin 1.5.0

 

Suggest more solutions or ask a question in the comments below.

Want to learn more? Enroll in Complete Web & App Development with Machine Learning For All (125 Hours). Free in the Mammoth Unlimited Membership. Get 250+ courses and 2,000 hours at a dirt-cheap price.
Mammoth Interactive Favicon

Why you NEED to take this course :

Get in Touch.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

EMAIL US

support@mammothinteractive.com