FAILURE: Build failed with an exception.

执行react-native run-android报错:
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.

这是因为你的jdk版本是9,把jdk版本切换到8就行了。

 

原github issue:https://github.com/facebook/react-native/issues/15552#issuecomment-331943834

posted @ 2017-10-02 14:13  zhouzhiying  阅读(4255)  评论(0编辑  收藏  举报