D
D
Dmitry2015-07-25 16:23:52
Android
Dmitry, 2015-07-25 16:23:52

Gradle and IntelliJ IDEA on Windows give java.awt.HeadlessException - but why?

To build an Android project through Gradle, you need the ability to enter a password to sign the project at the time of build.
I found this solution:
https://www.timroes.de/2014/01/19/using-password-p...
And the command line works fine!
When trying to make a production build through IntelliJ IDEA, I get a cool error:

Error:(29, 0) Gradle: Failed to create component for 'dialog' reason: java.awt.HeadlessException
> java.awt.HeadlessException (no error message)

Does anyone have any ideas why this is happening?
JDK and JRE cost the latest versions, similar to IntelliJ IDEA itself.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question