Ben*_*min 1 android gradle flutter
我格式化了我的电脑并将 flutter sdk 位置保留在同一位置。唯一的区别是用户文件夹的名称。以前叫“thesl”,现在叫“bscho”。每当我去构建我的 flutter 应用程序时,我都会得到以下信息:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Failed to create parent directory 'C:\Users\thesl' when creating directory 'C:\Users\thesl\OneDrive\dev\redlino\redlino\android\app\build\intermediates\flutter\debug\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.
* Get more help at https://help.gradle.org
BUILD FAILED in 1s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Run Code Online (Sandbox Code Playgroud)
我的Flutter SDK的路径是:C:\dev\flutter
我的 Flutter 应用程序的路径(pubspec.yaml 所在的位置)是:(C:\dev\redlino\redlino是的,这两个 redlino 是故意的)
我的项目文件曾经位于 OneDrive 中,但我已将其卸载,这也无济于事。
| 归档时间: |
|
| 查看次数: |
6951 次 |
| 最近记录: |