2 Replies Latest reply on Jul 5, 2017 1:06 PM by jacc84044376

    Andriod build not working

    jacc84044376

      Getting the following error:

       

      Build Date: 2017-07-04 17:12:38 +0000

      Subproject Path: CordovaLib

      Configuration on demand is an incubating feature.

      Incremental java compilation is an incubating feature.

       

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      A problem occurred configuring root project 'project'.

      > You have not accepted the license agreements of the following SDK components:

        [SDK Patch Applier v4, Google Repository].

        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: 2.33 secs

      Error: /project/gradlew: Command failed with exit code 1 Error output:

      FAILURE: Build failed with an exception.

       

      * What went wrong:

      A problem occurred configuring root project 'project'.

      > You have not accepted the license agreements of the following SDK components:

        [SDK Patch Applier v4, Google Repository].

        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.

        at ChildProcess.whenDone (/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

        at emitTwo (events.js:106:13)

        at ChildProcess.emit (events.js:191:7)

        at maybeClose (internal/child_process.js:877:16)

        at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)