【发布时间】:2019-08-13 07:56:23
【问题描述】:
在我的 linux 机器上构建 Flutter 应用时,我遇到了这个错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:copyFlutterAssetsDebug'.
> Could not copy file '/FwzFiles/GitHub/nilai_sekolah/build/app/intermediates/flutter/debug/android-arm64/flutter_assets' to '/FwzFiles/GitHub/nilai_sekolah/build/app/intermediates/merged_assets/debug/mergeDebugAssets/out/flutter_assets'.
* 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.
我必须设置我的 Android 设备(Google Pixel 2)using this tutorial(这需要我更改 udev 权限),那么这是否与错误有关?我可以将pull 和push 文件发送到我的设备。
如何解决这个错误?
【问题讨论】: