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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Duplicate
    • cordova-android-7.0.0
    • None
    • cordova-cli
    • Windows 10 + gradle 4.4.1 + cordova 8 + cordova android 7 + JSON build file

      Used to work perfectly with older version.

       

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: