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