occurred configuring project ':app'. > Failed to notify project evaluation listener

点点圈 提交于 2020-01-01 08:33:05

问题


I would like to start my first application react-native but when i write in the command line "react-native run-android" it say :

What went wrong:

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

Does anyone know what could be the problem?


回答1:


I had this same issue and it was due to having two versions of JDK installed v8 & v9. By removing v9, I was able to resolve the issue (Mac User).

If you only have version 9 installed, I would remove it and try v8.

Navigate to /Library/Java/JavaVirtualMachines and remove the v9 directory

sudo rm -rf {yourVersionName}.jdk

You should have v8 in that directory. If not you will need to install it.




回答2:


if you use windows env and use different java version change java version at system path as java 8.



来源:https://stackoverflow.com/questions/43415673/occurred-configuring-project-app-failed-to-notify-project-evaluation-liste

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!