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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM