Android: Failed to notify project evaluation listener > javax/xml/bind/annotation/XmlSchema

Example error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
   > javax/xml/bind/annotation/XmlSchema

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


Change Java version:

Example change environment variable JAVA_HOME

Old value:

New value:
C:\Program Files\Java\jre1.8.0_231

change java

Restart your machine. Done!

Leave a Reply