Skip to content

Instantly share code, notes, and snippets.

@silkyland
Last active November 28, 2023 16:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silkyland/b3e67e224817b93e00f99e79549963b6 to your computer and use it in GitHub Desktop.
Save silkyland/b3e67e224817b93e00f99e79549963b6 to your computer and use it in GitHub Desktop.
A problem occurred configuring project ':app', Failed to notify project evaluation listener, javax/xml/bind/annotation/XmlSchema
* What went wrong:
A problem occurred configuring project ':app'.
> Failed to notify project evaluation listener.
> javax/xml/bind/annotation/XmlSchema
--
If you got error like above that mean "You are using JDK higher than graddle need eg. You install JDK 9 it should be 8"
How to fix:
1) Remove JDK version 9 by
sudo rm -fr /Library/Java/JavaVirtualMachines/jdk-9.jdk/
sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane
2) Download JDK vesion 8 from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
3) Install JDK 8
4) Let's rock!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment