[Windows 7 64bits] An error occurred while running cordova build android (exit code 1):

Hello, i have this problem:

[ERROR] Cordova encountered an error.
        You may get more insight by running the Cordova command above directly.

[ERROR] An error occurred while running cordova build android (exit code 1):

        ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
        JAVA_HOME=C:\Program Files\java\jdk1.8.0_141
        Subproject Path: CordovaLib
        The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use
        Task.doLast(Action) instead.
        at build_b44oqih3gf4vrsz6yrtb0t6tj.run(C:\Users\User\Projecs\apptest\platforms\android\build.gradle:137)
        Checking the license for package Android SDK Platform 25 in C:\Program Files (x86)\Android\android-sdk\licenses
        Warning: License for package Android SDK Platform 25 not accepted.

        FAILURE: Build failed with an exception.

        * 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

        * Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

        BUILD FAILED

        Total time: 1.826 secs
        Error: cmd: Command failed with exit code 1 Error output:
        FAILURE: Build failed with an exception.

        * 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

        * Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.