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

e.g:
~/Library/Android/sdk/tools/bin

Run the sdkmanager as follows:
./sdkmanager --licenses

And accept the licenses you did not accept yet (but need to).