[英]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.