当我试图运行我的应用程序时,我有一个错误。我尝试过使用颤振运行,我选择了device,但是这条消息显示在终端中:
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.
发布于 2022-09-16 14:35:41
我在视觉代码上试过这个
Update the Android Studio to the latest
Remove the kotlin plugin in Visual studio code
或者您需要运行flutter clean build
,然后它会显示出一些错误来修复,您需要打包获取您的pubspec.yaml
文件,因为您需要在终端上运行futter pub get
,然后您需要关闭vs代码并重新打开它,然后再次运行您的应用程序,现在可以看到您的应用程序运行时没有任何问题。
https://stackoverflow.com/questions/70689969
复制相似问题