简体   繁体   English

构建失败,并带有异常-(app:mergeDebugResources')

[英]Build failed with an exception -(app:mergeDebugResources')

Am running a react native application in a command prompt on an Android Genymotion Emulator,but it throws this exception: FAILURE: Build failed with an exception. 我正在Android Genymotion模拟器上的命令提示符中运行react native应用程序,但它抛出此异常:FAILURE:构建失败,并出现异常。

* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

But it was running well before this error why is this happening? 但是在此错误发生之前运行良好,为什么会这样呢?

Try this: 尝试这个:

goto android folder within your project: 项目中的goto android文件夹:

cd android

then 然后

./gradlew clean

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 构建失败 - 任务:应用程序:checkDebugDuplicateClasses FAILED - Build Failed - Task :app:checkDebugDuplicateClasses FAILED 失败:构建失败,发生异常。 -React Native - FAILURE: Build failed with an exception. - React Native 生成失败,发生异常 - Build failed with an exception In react-native FAILURE:构建失败并出现异常。 * 其中:构建文件 'C:\Users\mayev\dev\remplazo\Chronos\android\app\build.gradle' 行:81 - FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\mayev\dev\remplazo\Chronos\android\app\build.gradle' line: 81 无法在Ubuntu 16.04上使用Apache Cordova构建应用程序 - Failed to build app with Apache Cordova on ubuntu 16.04 ExtJS:使用图表构建应用程序测试失败 - ExtJS: build app testing with chart failed Apache Cordova:构建失败错误代码1和Javascript异常 - Apache Cordova: Build failed Error code 1 and Javascript Exception AOT清理加载程序中的错误,无法以AOT模式构建Angular App - Error in AOT cleanup loader, failed to build Angular App with AOT mode Webpack 构建 Angular.js - 无法实例化模块应用程序 - Webpack build Angular.js - Failed to instantiate module app 推送到Heroku时无法构建Node.js应用 - Node.js app failed to build when pushing to Heroku
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM