FAILURE: Build failed with an exception.
Posted zhiyingzhou
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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
以上是关于FAILURE: Build failed with an exception.的主要内容,如果未能解决你的问题,请参考以下文章
Jenkins Android Build Error: FAILURE: Build failed with an exception
Android Studio 3.3:Gradle Build Sync 消息是错误 FAILURE: Build failed with an exception
如何解决错误 FAILURE: Build failed with an exception。 * 其中:脚本 'C:\flutter\packages\flutter_tools\gradle\fl
Ionic 3 Android Failed Build Manifest 合并失败
安卓真机或者模拟器运行安装应用时提示 Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries, res
BUILD FAILED in 6s Exception: Gradle task assembleDebug failed with exit code 1