1

每当我运行它时,它都会卡在android中。这发生在我本地,我通过flutter clean解决了它,我不知道如何在codemagic中做到这一点。问题是没有建筑,这是日志。

 Running Gradle task 'assembleDebug'...                          


FAILURE: Build failed with an exception.



* What went wrong:

Execution failed for task ':app:compileFlutterBuildDebug'.

> java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\\Users\\thech\\Downloads\\nueva_temporada-20210514T040146Z-001\\nueva_temporada\\build\\app\\intermediates\\flutter\\debug\\flutter_assets\\AssetManifest.json



* 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 30s
Running Gradle task 'assembleDebug'...                             31.3s
Gradle task assembleDebug failed with exit code 1


Build failed :|
Failed to build for Android
4

1 回答 1

0

您是否有可能在 build.gradle 或其他地方硬编码路径?C:\\Users不是 Codemagic 构建器机器上的有效路径,因为它使用 macOS 或 Linux

于 2021-05-14T09:07:37.010 回答