报错:You have not accepted the license agreements of the following SDK components
The way to accept license agreements from command line has changed. You can use the SDK manager which is located at:
~/Library/Android/sdk/tools/bin
Run the sdkmanager as follows:
./sdkmanager --licenses
And accept the licenses you did not accept yet but do need.
转载自: