Nativescript: Gradle build failing from commandline

Cause of the issue: Licenses not accepted

To solve the issue:

  1. Opt-in: Android Studio > Sdk Manager > SDK Tools > Android SDK Command-Line Tools (latest)
  2. Run: ~/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager --licenses
  3. Confirm all prompts with y to accept

Leave a Reply

Your email address will not be published. Required fields are marked *