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