【发布时间】:2021-08-04 10:15:36
【问题描述】:
每当我运行它时,它都会卡在 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
【问题讨论】:
-
您可以尝试在代码魔术中的 Post-clone 脚本中添加 Flutter Clean。
-
你是怎么做到的?抱歉,我是 codemagic 新手
标签: android ios flutter dart codemagic