Accept Android SDK licenses from cli
The way to accept license agreements from the command line has changed. You can use the SDK manager which is located at: $ANDROID_HOME/tools/bin
Run the sdkmanager as follows:
And accept the licenses you did not accept yet (but need to).