I’m trying run a build using Ionic Pro but getting the following error (see below). Could this be an issue with Ionic Pro rather than an issue with my code?
BUILD FAILED
Total time: 51.714 secs
Error: /usr/src/app/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.
You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 26].
Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to Exporting licenses - Android Studio Project Site
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Failed to upload apk to storage please retry your build.
Running after script…
$ clean-up
Cleaning up files…
Successful clean up
ERROR: Job failed: exit status 1