AndroidSDK can finally accept licenses.
Go to Androidsdkoolsin
yes | sdkmanager --licenses
EDIT:
as pointed out in the comments by @MoOx, on macOS, you can do
yes | sudo ~/Library/Android/sdk/tools/bin/sdkmanager --licenses
as pointed out in the comments by @pho, @mikebridge and @ Noitidart on Windows, you can do
cmd.exe /C"%ANDROID_HOME%oolsinsdkmanager.bat --licenses"
be sure to install java before
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…