Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13786

Failed to create component for 'dialog' reason: java.awt.HeadlessException

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: cordova-android-7.0.0
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
    • Environment:

      Windows 10 + gradle 4.4.1 + cordova 8 + cordova android 7 + JSON build file

      Used to work perfectly with older version.

       

    • Flags:
      Important

      Description

      cordova build android --debug = OK

      cordova build android --release = FAIL

       

      FAILURE: Build failed with an exception.

      • Where:
        Script 'D:\Server\ROOT\myapp\platforms\android\CordovaLib\cordova.gradle' line: 143
      • What went wrong:
        Failed to create component for 'dialog' reason: java.awt.HeadlessException
        > java.awt.HeadlessException (no error message)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                eparlier Eric Parlier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: