首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >任务执行失败:app:cleanMergeDebugAssets‘

任务执行失败:app:cleanMergeDebugAssets‘
EN

Stack Overflow用户
提问于 2022-01-13 00:09:10
回答 1查看 719关注 0票数 1

当我试图运行我的应用程序时,我有一个错误。我尝试过使用颤振运行,我选择了device,但是这条消息显示在终端中:

代码语言:javascript
运行
复制
FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:cleanMergeDebugAssets'.

> java.io.IOException: Unable to delete file 'C:\flutter_project\cursin2\LoginFlutter-master\android\app\build\intermediates\merged_assets\debug\out'

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
EN

回答 1

Stack Overflow用户

发布于 2022-09-16 14:35:41

我在视觉代码上试过这个

代码语言:javascript
运行
复制
    Update the Android Studio to the latest
    Remove the kotlin plugin in Visual studio code

或者您需要运行flutter clean build,然后它会显示出一些错误来修复,您需要打包获取您的pubspec.yaml文件,因为您需要在终端上运行futter pub get,然后您需要关闭vs代码并重新打开它,然后再次运行您的应用程序,现在可以看到您的应用程序运行时没有任何问题。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70689969

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档