Android SDK Build-Tools 28.0.3 Licences not accepted

I am new to Appcelerator. I’m using the VSCode extension for Appcelerator and I installed all the required Appcelerator packages. I also installed Android Studio in order to use an Emulator.

I created a new Appcelerator Titanium project and I am trying to run it in the Android Emulator when I get the following error:

[ERROR] [GRADLE] FAILURE: Build failed with an exception.
[ERROR] [GRADLE] * What went wrong:
[ERROR] [GRADLE] Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.
[ERROR] [GRADLE] > Failed to install the following Android SDK packages as some licences have not 
been accepted.
[ERROR] [GRADLE]      build-tools;28.0.3 Android SDK Build-Tools 28.0.3
[ERROR] [GRADLE]   To build this project, accept the SDK license agreements and install the missing 
components using the Android Studio SDK Manager.
[ERROR] [GRADLE]   Alternatively, to transfer the license agreements from one workstation to another, 
[ERROR] [GRADLE]   Using Android SDK: /Users/armand/Library/android-sdk-macosx
[ERROR] [GRADLE] Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output. Run with --scan to get full insights.
[ERROR] [GRADLE] * Get more help at

I’m not sure what I am doing wrong?