* What went wrong:
A problem occurred configuring root project 'android'.
> You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 25].
Before building your project, you need to accept the license agreements and complete the installation of the
missing components using the Android Studio SDK Manager.
Alternatively, to learn how to transfer the license agreements from one workstation to another, go to
http://d.android.com/r/studio-ui/export-licenses.html
Sum of these errors are helpful enough if you break them down
This is because you have not accepted the licence agreements, you can choose to open Android Studio SDK Manager and accept them or alternatively you can try this Stackoverflow solution https://stackoverflow.com/questions/40383323/cant-accept-license-agreement-android-sdk-platform-24/40383457#40383457