FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'Minetest'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
build-tools;28.0.3 Android SDK Build-Tools 28.0.3
platforms;android-28 Android SDK Platform 28
But when I previously installed the sdk I accepted the license.