Last active
November 28, 2023 16:06
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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